Index: chrome/browser/sync_file_system/local/local_file_sync_service.cc |
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_service.cc b/chrome/browser/sync_file_system/local/local_file_sync_service.cc |
index e7501e764db3eb167e67a780f30c849a5d4001bf..6f0d0823ea73d8884739003d357973188b864ebd 100644 |
--- a/chrome/browser/sync_file_system/local/local_file_sync_service.cc |
+++ b/chrome/browser/sync_file_system/local/local_file_sync_service.cc |
@@ -4,7 +4,9 @@ |
#include "chrome/browser/sync_file_system/local/local_file_sync_service.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/stl_util.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/extensions/extension_util.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/sync_file_system/file_change.h" |
@@ -175,7 +177,7 @@ void LocalFileSyncService::HasPendingLocalChanges( |
const FileSystemURL& url, |
const HasPendingLocalChangeCallback& callback) { |
if (!ContainsKey(origin_to_contexts_, url.origin())) { |
- base::MessageLoopProxy::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind(callback, SYNC_FILE_ERROR_INVALID_URL, false)); |
return; |