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

Unified Diff: chrome/browser/android/intercept_download_resource_throttle.cc

Issue 634683002: Remove implicit conversions from scoped_refptr to T* in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/intercept_download_resource_throttle.cc
diff --git a/chrome/browser/android/intercept_download_resource_throttle.cc b/chrome/browser/android/intercept_download_resource_throttle.cc
index c64dc7b3bd379494e7ec7f22550ecdd19043763f..d31382d091bd6df0312acb1e4ea600e6bf4a62fd 100644
--- a/chrome/browser/android/intercept_download_resource_throttle.cc
+++ b/chrome/browser/android/intercept_download_resource_throttle.cc
@@ -56,9 +56,9 @@ void InterceptDownloadResourceThrottle::ProcessDownloadRequest() {
// authenticate with the origin.
if (request_->response_info().did_use_http_auth) {
if (headers.HasHeader(net::HttpRequestHeaders::kAuthorization) ||
- !(request_->response_info().headers &&
- data_reduction_proxy::HasDataReductionProxyViaHeader(
- request_->response_info().headers, NULL))) {
+ !(request_->response_info().headers.get() &&
+ data_reduction_proxy::HasDataReductionProxyViaHeader(
+ request_->response_info().headers.get(), NULL))) {
return;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698