Index: components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc |
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc |
index 1158748b17cae2b1559e2ce55a224a40c7593bb7..590598ae34ef5f0008f8ca99aaaa3fb23d9f51f7 100644 |
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc |
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc |
@@ -35,6 +35,7 @@ DataReductionProxyAuthRequestHandler::auth_token_invalidation_timestamp_ = 0; |
DataReductionProxyAuthRequestHandler::DataReductionProxyAuthRequestHandler( |
DataReductionProxySettings* settings) : settings_(settings) { |
+ DCHECK(settings); |
} |
DataReductionProxyAuthRequestHandler::~DataReductionProxyAuthRequestHandler() { |
@@ -104,7 +105,7 @@ DataReductionProxyAuthRequestHandler::TryHandleAuthentication( |
bool DataReductionProxyAuthRequestHandler::IsAcceptableAuthChallenge( |
net::AuthChallengeInfo* auth_info) { |
- return DataReductionProxySettings::IsAcceptableAuthChallenge(auth_info); |
+ return settings_->IsAcceptableAuthChallenge(auth_info); |
} |
base::string16 DataReductionProxyAuthRequestHandler::GetTokenForAuthChallenge( |