summaryrefslogtreecommitdiff
path: root/update_engine_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'update_engine_client.cc')
-rw-r--r--update_engine_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_engine_client.cc b/update_engine_client.cc
index 44897e03..dbfc66ba 100644
--- a/update_engine_client.cc
+++ b/update_engine_client.cc
@@ -73,7 +73,7 @@ class UpdateEngineClient : public brillo::Daemon {
// We can't call QuitWithExitCode from OnInit(), so we delay the execution
// of the ProcessFlags method after the Daemon initialization is done.
- base::MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->task_runner()->PostTask(
FROM_HERE,
base::Bind(&UpdateEngineClient::ProcessFlagsAndExit,
base::Unretained(this)));