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

Unified Diff: ios/web/web_thread_adapter.cc

Issue 1167533009: Revert of ios: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « ios/web/shell/shell_url_request_context_getter.cc ('k') | ios/web/web_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_thread_adapter.cc
diff --git a/ios/web/web_thread_adapter.cc b/ios/web/web_thread_adapter.cc
index 2b04eefc8cbff718b89d4a9c8589b8e569d5803e..016d23d97dd0802535e0818a1abf7d0898b0df16 100644
--- a/ios/web/web_thread_adapter.cc
+++ b/ios/web/web_thread_adapter.cc
@@ -164,9 +164,9 @@
}
// static
-scoped_refptr<base::SingleThreadTaskRunner> WebThread::GetTaskRunnerForThread(
+scoped_refptr<base::MessageLoopProxy> WebThread::GetMessageLoopProxyForThread(
ID identifier) {
- return content::BrowserThread::GetTaskRunnerForThread(
+ return content::BrowserThread::GetMessageLoopProxyForThread(
BrowserThreadIDFromWebThreadID(identifier));
}
« no previous file with comments | « ios/web/shell/shell_url_request_context_getter.cc ('k') | ios/web/web_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698