| Index: chrome/browser/profiles/profile_io_data.cc
|
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
|
| index 1ac33c4f4d5fec393a781e23d957bf0346542e59..dd0f063f6af5ccb9830cd4a2e1d733384018f5d2 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -482,7 +482,7 @@ void ProfileIOData::InitializeOnUIThread(Profile* profile) {
|
| pref_service);
|
|
|
| scoped_refptr<base::SingleThreadTaskRunner> io_task_runner =
|
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO);
|
| + BrowserThread::GetTaskRunnerForThread(BrowserThread::IO);
|
|
|
| chrome_http_user_agent_settings_.reset(
|
| new ChromeHttpUserAgentSettings(pref_service));
|
| @@ -895,14 +895,14 @@ void ProfileIOData::InitializeMetricsEnabledStateOnUIThread() {
|
| enable_metrics_.Init(prefs::kCrashReportingEnabled,
|
| g_browser_process->local_state());
|
| enable_metrics_.MoveToThread(
|
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
|
| + BrowserThread::GetTaskRunnerForThread(BrowserThread::IO));
|
| #else
|
| // Prep the PrefMember and send it to the IO thread, since this value will be
|
| // read from there.
|
| enable_metrics_.Init(metrics::prefs::kMetricsReportingEnabled,
|
| g_browser_process->local_state());
|
| enable_metrics_.MoveToThread(
|
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
|
| + BrowserThread::GetTaskRunnerForThread(BrowserThread::IO));
|
| #endif // BUILDFLAG(ANDROID_JAVA_UI)
|
| }
|
|
|
|
|