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

Unified Diff: content/shell/browser/layout_test/layout_test_browser_context.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/renderer/renderer_blink_platform_impl.cc ('k') | content/shell/browser/shell_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/layout_test_browser_context.cc
diff --git a/content/shell/browser/layout_test/layout_test_browser_context.cc b/content/shell/browser/layout_test/layout_test_browser_context.cc
index ff55d44548ad12f6bc083e97e6ac370dccb56dd1..e5adfbfba5968088cab3f767ce63dff18d45d5b4 100644
--- a/content/shell/browser/layout_test/layout_test_browser_context.cc
+++ b/content/shell/browser/layout_test/layout_test_browser_context.cc
@@ -73,7 +73,7 @@ class MojomProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler {
return new net::URLRequestFileJob(
request, network_delegate, path,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE));
}
};
@@ -96,8 +96,8 @@ LayoutTestBrowserContext::CreateURLRequestContextGetter(
"layout-test-mojom", make_linked_ptr(new MojomProtocolHandler)));
return new LayoutTestURLRequestContextGetter(
ignore_certificate_errors(), GetPath(),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::IO),
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE),
protocol_handlers, std::move(request_interceptors), net_log());
}
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | content/shell/browser/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698