Commit 877c90cb authored by Carlos Caballero's avatar Carlos Caballero Committed by Commit Bot

Remove dead code

Remove dead code in preparation for a refactor that will get rid of
MessageLoopForIO

Bug: 891670
Change-Id: I03b063dd2bb29fd32f986caefbf614f00ada3c30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733489Reviewed-by: default avatarAsanka Herath <asanka@chromium.org>
Commit-Queue: Carlos Caballero <carlscab@google.com>
Cr-Commit-Position: refs/heads/master@{#683618}
parent b7c9a539
......@@ -525,13 +525,6 @@ class EmbeddedTestServerThreadingTestDelegate
// base::PlatformThread::Delegate:
void ThreadMain() override {
scoped_refptr<base::SingleThreadTaskRunner> io_thread_runner;
base::Thread io_thread("io_thread");
base::Thread::Options thread_options;
thread_options.message_pump_type = base::MessagePumpType::IO;
ASSERT_TRUE(io_thread.StartWithOptions(thread_options));
io_thread_runner = io_thread.task_runner();
std::unique_ptr<base::MessageLoop> loop;
if (message_loop_present_on_initialize_)
loop = std::make_unique<base::MessageLoopForIO>();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment