Index: components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc |
diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc |
index 795dbea03dc53e340e32bceadc20f70278643806..22bd57c8263d396ba20eb6f132d167b328e0b908 100644 |
--- a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc |
+++ b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc |
@@ -314,8 +314,9 @@ DataReductionProxyRequestType GetDataReductionProxyRequestType( |
return SHORT_BYPASS; |
} |
#endif |
- if (request->response_info().headers && |
- HasDataReductionProxyViaHeader(request->response_info().headers, NULL)) { |
+ if (request->response_info().headers.get() && |
+ HasDataReductionProxyViaHeader(request->response_info().headers.get(), |
+ NULL)) { |
return VIA_DATA_REDUCTION_PROXY; |
} |
return UNKNOWN_TYPE; |