Index: chromecast/browser/cast_browser_main_parts.cc |
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc |
index 91b13cef9f7d444841170c1d41f28f7a79b79e84..e5aec8ff88138310efb6074b40cfecc804f96d11 100644 |
--- a/chromecast/browser/cast_browser_main_parts.cc |
+++ b/chromecast/browser/cast_browser_main_parts.cc |
@@ -16,6 +16,7 @@ |
#include "base/path_service.h" |
#include "base/prefs/pref_registry_simple.h" |
#include "base/run_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#include "cc/base/switches.h" |
#include "chromecast/base/cast_paths.h" |
#include "chromecast/base/cast_sys_info_util.h" |
@@ -238,7 +239,7 @@ void CastBrowserMainParts::PreMainMessageLoopStart() { |
void CastBrowserMainParts::PostMainMessageLoopStart() { |
cast_browser_process_->SetMetricsHelper(make_scoped_ptr( |
- new metrics::CastMetricsHelper(base::MessageLoopProxy::current()))); |
+ new metrics::CastMetricsHelper(base::ThreadTaskRunnerHandle::Get()))); |
#if defined(OS_ANDROID) |
base::MessageLoopForUI::current()->Start(); |