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

Unified Diff: extensions/shell/browser/shell_browser_context.cc

Issue 1730533002: Remove some usages of BrowserThread::UnsafeGetMessageLoopForThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reformatted. Created 4 years, 10 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: extensions/shell/browser/shell_browser_context.cc
diff --git a/extensions/shell/browser/shell_browser_context.cc b/extensions/shell/browser/shell_browser_context.cc
index b38661bcd7cb5a4a2123deb814d466d46c91b291..fb1d5134d58c17125ea665de6e90ce4cfd8a7bb3 100644
--- a/extensions/shell/browser/shell_browser_context.cc
+++ b/extensions/shell/browser/shell_browser_context.cc
@@ -51,9 +51,9 @@ net::URLRequestContextGetter* ShellBrowserContext::CreateRequestContext(
DCHECK(!url_request_context_getter());
set_url_request_context_getter(new ShellURLRequestContextGetter(
this, IgnoreCertificateErrors(), GetPath(),
- content::BrowserThread::UnsafeGetMessageLoopForThread(
+ content::BrowserThread::GetMessageLoopProxyForThread(
content::BrowserThread::IO),
- content::BrowserThread::UnsafeGetMessageLoopForThread(
+ content::BrowserThread::GetMessageLoopProxyForThread(
content::BrowserThread::FILE),
protocol_handlers, std::move(request_interceptors), nullptr /* net_log */,
extension_info_map));

Powered by Google App Engine
This is Rietveld 408576698