Index: chrome/browser/sync/profile_sync_service_factory.cc |
diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc |
index b4abcdf7a5f4f65d95d3fd232c15057cd4ab9d28..7b984703a611d819259a3afb5ff88e0c76b716d7 100644 |
--- a/chrome/browser/sync/profile_sync_service_factory.cc |
+++ b/chrome/browser/sync/profile_sync_service_factory.cc |
@@ -179,11 +179,10 @@ KeyedService* ProfileSyncServiceFactory::BuildServiceInstanceFor( |
init_params.debug_identifier = profile->GetDebugName(); |
init_params.channel = chrome::GetChannel(); |
- init_params.db_thread = content::BrowserThread::GetMessageLoopProxyForThread( |
+ init_params.db_thread = content::BrowserThread::GetTaskRunnerForThread( |
content::BrowserThread::DB); |
- init_params.file_thread = |
- content::BrowserThread::GetMessageLoopProxyForThread( |
- content::BrowserThread::FILE); |
+ init_params.file_thread = content::BrowserThread::GetTaskRunnerForThread( |
+ content::BrowserThread::FILE); |
init_params.blocking_pool = content::BrowserThread::GetBlockingPool(); |
auto pss = base::WrapUnique(new ProfileSyncService(std::move(init_params))); |