Commit ee7bd139 authored by fdoray's avatar fdoray Committed by Commit bot

Remove calls to deprecated MessageLoop methods from tools/.

This CL removes calls to these methods from tools/ files:
- MessageLoop::PostTask
- MessageLoop::PostDelayedTask
- MessageLoop::ReleaseSoon
- MessageLoop::DeleteSoon
- MessageLoop::Run
- MessageLoop::RunUntilIdle

BUG=616447

Review-Url: https://codereview.chromium.org/2278993002
Cr-Commit-Position: refs/heads/master@{#414701}
parent 49e363a7
......@@ -13,6 +13,7 @@
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/string_piece.h"
#include "base/strings/stringprintf.h"
#include "base/threading/thread.h"
......@@ -72,7 +73,7 @@ class ServerDelegate : public Daemon::ServerDelegate {
client_socket->WriteString("OK");
return;
}
controller_thread_->message_loop()->PostTask(
controller_thread_->task_runner()->PostTask(
FROM_HERE,
base::Bind(&ServerDelegate::StartController, base::Unretained(this),
GetExitNotifierFD(), base::Passed(&client_socket)));
......
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