Index: chrome/browser/sync_file_system/syncable_file_system_util.cc |
diff --git a/chrome/browser/sync_file_system/syncable_file_system_util.cc b/chrome/browser/sync_file_system/syncable_file_system_util.cc |
index 4e6e04bb167faaabfe1c3b064d38c7f03daf63fe..6f2aaf2360fdf44d7993d112e31e72af3a5b3ae8 100644 |
--- a/chrome/browser/sync_file_system/syncable_file_system_util.cc |
+++ b/chrome/browser/sync_file_system/syncable_file_system_util.cc |
@@ -8,7 +8,9 @@ |
#include "base/command_line.h" |
#include "base/location.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/strings/string_util.h" |
+#include "base/thread_task_runner_handle.h" |
#include "storage/browser/fileapi/external_mount_points.h" |
#include "storage/browser/fileapi/file_observers.h" |
#include "storage/browser/fileapi/file_system_context.h" |
@@ -109,7 +111,7 @@ base::FilePath GetSyncFileSystemDir(const base::FilePath& profile_base_dir) { |
void RunSoon(const tracked_objects::Location& from_here, |
const base::Closure& callback) { |
- base::MessageLoop::current()->PostTask(from_here, callback); |
+ base::ThreadTaskRunnerHandle::Get()->PostTask(from_here, callback); |
} |
base::Closure NoopClosure() { |