Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
index b9a4168edbcff688e38b2d144cbd0bf8fec99b49..cfe96f4bfc4ad452b06138995a16f0740617d681 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc |
@@ -36,7 +36,7 @@ DataReductionProxyRequestType GetDataReductionProxyRequestType( |
// Data Reduction Proxy, since 304s aren't required to have a Via header even |
// if they came through the Data Reduction Proxy. |
if (request.response_headers() && |
- (HasDataReductionProxyViaHeader(request.response_headers(), nullptr) || |
+ (HasDataReductionProxyViaHeader(*request.response_headers(), nullptr) || |
(request.response_headers()->response_code() == net::HTTP_NOT_MODIFIED && |
config.WasDataReductionProxyUsed(&request, nullptr)))) { |
return VIA_DATA_REDUCTION_PROXY; |