Chromium Code Reviews| 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 ed7cd4fe7a60f1d937f0768e7aa7eb8e1aa0eacf..7c3b69852c54d9699a7e66124e21f1f32fc57de1 100644 |
| --- a/chromecast/browser/cast_browser_main_parts.cc |
| +++ b/chromecast/browser/cast_browser_main_parts.cc |
| @@ -443,8 +443,11 @@ void CastBrowserMainParts::PreMainMessageLoopRun() { |
| ::media::InitializeMediaLibrary(); |
| // Initializing metrics service and network delegates must happen after cast |
| - // service is intialized because CastMetricsServiceClient and |
| + // service is initialized because CastMetricsServiceClient and |
| // CastNetworkDelegate may use components initialized by cast service. |
| + // Set the thread on which to execute RecordAction. |
|
Ilya Sherman
2016/04/15 22:16:05
nit: This comment seems rather redundant with the
beaudoin
2016/04/18 14:29:52
Done.
|
| + base::SetRecordActionTaskRunner( |
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)); |
| cast_browser_process_->metrics_service_client() |
| ->Initialize(cast_browser_process_->cast_service()); |
| url_request_context_factory_->InitializeNetworkDelegates(); |