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

Unified Diff: content/browser/browser_thread_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
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | content/browser/byte_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_thread_unittest.cc
diff --git a/content/browser/browser_thread_unittest.cc b/content/browser/browser_thread_unittest.cc
index bef2c9fd46040e6b4ea02abde7c9109e766d4aa4..f3f37952ff73ea072dfd12e08bb9b0ff08bbaa18 100644
--- a/content/browser/browser_thread_unittest.cc
+++ b/content/browser/browser_thread_unittest.cc
@@ -95,7 +95,7 @@ TEST_F(BrowserThreadTest, ReleasedOnCorrectThread) {
TEST_F(BrowserThreadTest, PostTaskViaTaskRunner) {
scoped_refptr<base::SingleThreadTaskRunner> task_runner =
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE);
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE);
task_runner->PostTask(
FROM_HERE, base::Bind(&BasicFunction, base::MessageLoop::current()));
base::RunLoop().Run();
@@ -103,7 +103,7 @@ TEST_F(BrowserThreadTest, PostTaskViaTaskRunner) {
TEST_F(BrowserThreadTest, ReleaseViaTaskRunner) {
scoped_refptr<base::SingleThreadTaskRunner> task_runner =
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI);
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::UI);
task_runner->ReleaseSoon(FROM_HERE, this);
base::RunLoop().Run();
}
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | content/browser/byte_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698