Index: chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc |
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc b/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc |
index c2e23883c2e48db84ddbc53432d9def9cb398e07..46f4c6d49ee2718a707fcee7b813c0d881cd9c02 100644 |
--- a/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc |
+++ b/chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc |
@@ -10,7 +10,9 @@ |
#include "base/bind_helpers.h" |
#include "base/files/file_path.h" |
#include "base/files/file_util.h" |
+#include "base/location.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/stl_util.h" |
#include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" |
#include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" |
@@ -65,7 +67,7 @@ class LocalFileSyncContextTest : public testing::Test { |
ASSERT_TRUE(dir_.CreateUniqueTempDir()); |
in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default())); |
- ui_task_runner_ = base::MessageLoop::current()->message_loop_proxy(); |
+ ui_task_runner_ = base::MessageLoop::current()->task_runner(); |
io_task_runner_ = BrowserThread::GetMessageLoopProxyForThread( |
BrowserThread::IO); |
file_task_runner_ = BrowserThread::GetMessageLoopProxyForThread( |