Index: base/trace_event/trace_event_android.cc |
diff --git a/base/trace_event/trace_event_android.cc b/base/trace_event/trace_event_android.cc |
index bcba43637690f85bb372b7971bd4bd1ad3decac5..26bd0c777d4be216db025546b9d2f4932e0b1395 100644 |
--- a/base/trace_event/trace_event_android.cc |
+++ b/base/trace_event/trace_event_android.cc |
@@ -114,7 +114,7 @@ void TraceLog::StopATrace() { |
Thread end_chrome_tracing_thread("end_chrome_tracing"); |
WaitableEvent complete_event(false, false); |
end_chrome_tracing_thread.Start(); |
- end_chrome_tracing_thread.message_loop()->PostTask( |
+ end_chrome_tracing_thread.task_runner()->PostTask( |
FROM_HERE, base::Bind(&EndChromeTracing, Unretained(this), |
Unretained(&complete_event))); |
complete_event.Wait(); |