Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index c80ec425d59a4e8c6d12333b787841c88c35adbc..f520e2a5f3a22815d93b4fa75c8fbd79d646cdba 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -442,11 +442,9 @@ ProfileImpl::ProfileImpl( |
#else |
cloud_policy_manager_ = |
policy::UserCloudPolicyManagerFactory::CreateForOriginalBrowserContext( |
- this, |
- force_immediate_policy_load, |
- sequenced_task_runner, |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE), |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)); |
+ this, force_immediate_policy_load, sequenced_task_runner, |
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE), |
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); |
#endif |
profile_policy_connector_ = |
policy::ProfilePolicyConnectorFactory::CreateForBrowserContext( |
@@ -564,7 +562,7 @@ void ProfileImpl::DoFinalInit() { |
ssl_config_service_manager_.reset( |
ssl_config::SSLConfigServiceManager::CreateDefaultManager( |
local_state, |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO))); |
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO))); |
#if BUILDFLAG(ENABLE_BACKGROUND) |
// Initialize the BackgroundModeManager - this has to be done here before |
@@ -1287,5 +1285,5 @@ ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) { |
return std::unique_ptr<domain_reliability::DomainReliabilityMonitor>(); |
return service->CreateMonitor( |
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)); |
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); |
} |