Index: chrome/browser/sync/profile_sync_service.cc |
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
index e8df3e0141ef6038007d3486a70f9d2d8ba2708c..2ac3deed199641b1b73d1e363b6f6284ebfac33c 100644 |
--- a/chrome/browser/sync/profile_sync_service.cc |
+++ b/chrome/browser/sync/profile_sync_service.cc |
@@ -22,6 +22,7 @@ |
#include "base/profiler/scoped_tracker.h" |
#include "base/strings/string16.h" |
#include "base/strings/stringprintf.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/threading/thread_restrictions.h" |
#include "build/build_config.h" |
#include "chrome/browser/browser_process.h" |
@@ -2640,7 +2641,7 @@ void ProfileSyncService::CheckSyncBackupIfNeeded() { |
FROM_HERE, |
base::Bind(syncer::CheckSyncDbLastModifiedTime, |
profile_->GetPath().Append(kSyncBackupDataFolderName), |
- base::MessageLoopProxy::current(), |
+ base::ThreadTaskRunnerHandle::Get(), |
base::Bind(&ProfileSyncService::CheckSyncBackupCallback, |
weak_factory_.GetWeakPtr()))); |
} else { |
@@ -2648,7 +2649,7 @@ void ProfileSyncService::CheckSyncBackupIfNeeded() { |
content::BrowserThread::FILE, FROM_HERE, |
base::Bind(syncer::CheckSyncDbLastModifiedTime, |
profile_->GetPath().Append(kSyncBackupDataFolderName), |
- base::MessageLoopProxy::current(), |
+ base::ThreadTaskRunnerHandle::Get(), |
base::Bind(&ProfileSyncService::CheckSyncBackupCallback, |
weak_factory_.GetWeakPtr()))); |
} |