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

Unified Diff: content/shell/shell_url_request_context_getter.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 | « content/shell/shell_devtools_frontend.cc ('k') | content/test/webrtc_audio_device_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_url_request_context_getter.cc
diff --git a/content/shell/shell_url_request_context_getter.cc b/content/shell/shell_url_request_context_getter.cc
index bd73546348acfb58629fdb6f086d8cd2f965a9a9..eabc7621a23d35ceb93a47cf6f6697557a4eb860 100644
--- a/content/shell/shell_url_request_context_getter.cc
+++ b/content/shell/shell_url_request_context_getter.cc
@@ -76,7 +76,7 @@ ShellURLRequestContextGetter::ShellURLRequestContextGetter(
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
proxy_config_service_.reset(
net::ProxyService::CreateSystemProxyConfigService(
- io_loop_->message_loop_proxy(), file_loop_));
+ io_loop_->message_loop_proxy().get(), file_loop_));
}
}
@@ -129,8 +129,8 @@ net::URLRequestContext* ShellURLRequestContextGetter::GetURLRequestContext() {
net::CACHE_BACKEND_DEFAULT,
cache_path,
0,
- BrowserThread::GetMessageLoopProxyForThread(
- BrowserThread::CACHE));
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)
+ .get());
net::HttpNetworkSession::Params network_session_params;
network_session_params.cert_verifier =
« no previous file with comments | « content/shell/shell_devtools_frontend.cc ('k') | content/test/webrtc_audio_device_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698