Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(781)

Unified Diff: chrome/browser/sync_file_system/local/local_file_sync_context_unittest.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f709ec8d157948886e372c020c9de6a490e1f2af..3484ef793bf3d409c8ae8599bbb6f9c1dd3b3f9f 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
@@ -73,10 +73,9 @@ class LocalFileSyncContextTest : public testing::Test {
in_memory_env_.reset(leveldb::NewMemEnv(leveldb::Env::Default()));
ui_task_runner_ = base::ThreadTaskRunnerHandle::Get();
- io_task_runner_ = BrowserThread::GetMessageLoopProxyForThread(
- BrowserThread::IO);
- file_task_runner_ = BrowserThread::GetMessageLoopProxyForThread(
- BrowserThread::IO);
+ io_task_runner_ = BrowserThread::GetTaskRunnerForThread(BrowserThread::IO);
+ file_task_runner_ =
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO);
}
void TearDown() override { RevokeSyncableFileSystem(); }

Powered by Google App Engine
This is Rietveld 408576698