Index: mojo/runner/in_process_native_runner.cc |
diff --git a/mojo/runner/in_process_native_runner.cc b/mojo/runner/in_process_native_runner.cc |
index c37e31ddd2029a841baf877496360889dfa5af55..04321c06e17e79af81fde0d6c2ea5687010d2c50 100644 |
--- a/mojo/runner/in_process_native_runner.cc |
+++ b/mojo/runner/in_process_native_runner.cc |
@@ -7,7 +7,7 @@ |
#include "base/bind.h" |
#include "base/callback_helpers.h" |
#include "base/location.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/threading/platform_thread.h" |
#include "mojo/runner/native_application_support.h" |
@@ -42,9 +42,9 @@ void InProcessNativeRunner::Start( |
application_request_ = application_request.Pass(); |
DCHECK(app_completed_callback_runner_.is_null()); |
- app_completed_callback_runner_ = |
- base::Bind(&base::TaskRunner::PostTask, base::MessageLoopProxy::current(), |
- FROM_HERE, app_completed_callback); |
+ app_completed_callback_runner_ = base::Bind( |
+ &base::TaskRunner::PostTask, base::ThreadTaskRunnerHandle::Get(), |
+ FROM_HERE, app_completed_callback); |
DCHECK(!thread_); |
thread_.reset(new base::DelegateSimpleThread(this, "app_thread")); |