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

Unified Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
index 601f059fb1acf5714928819310307852258181e8..6590aa305ec31bf5a923cccaff7e75b99e0f8b32 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -188,7 +188,7 @@ void ChromeResourceDispatcherHostDelegate::DownloadStarting(
// If it's from the web, we don't trust it, so we push the throttle on.
if (is_content_initiated) {
throttles->push_back(new DownloadResourceThrottle(
- download_request_limiter_, child_id, route_id, request_id,
+ download_request_limiter_.get(), child_id, route_id, request_id,
request->method()));
}
@@ -281,7 +281,8 @@ void ChromeResourceDispatcherHostDelegate::AppendStandardResourceThrottles(
ProfileIOData* io_data = ProfileIOData::FromResourceContext(resource_context);
if (io_data->safe_browsing_enabled()->GetValue()) {
throttles->push_back(SafeBrowsingResourceThrottle::Create(
- request, child_id, route_id, is_subresource_request, safe_browsing_));
+ request, child_id, route_id, is_subresource_request,
+ safe_browsing_.get()));
}
#endif

Powered by Google App Engine
This is Rietveld 408576698