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

Unified Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc

Issue 923333002: DataReductionProxyResourceThrottle::MaybeCreate should check for valid IOData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interstitalStep1
Patch Set: Created 5 years, 10 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: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc
diff --git a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc
index b4f54cdee9485596fd8b20632b87391e6888ffea..60d31bcd4882afdbd584fd5ac35e7c995f7e36a5 100644
--- a/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc
+++ b/components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle.cc
@@ -27,7 +27,7 @@ DataReductionProxyDebugResourceThrottle::MaybeCreate(
const net::URLRequest* request,
content::ResourceType resource_type,
const DataReductionProxyIOData* io_data) {
- if (io_data->IsEnabled() &&
+ if (io_data && io_data->IsEnabled() &&
data_reduction_proxy::DataReductionProxyParams::
WarnIfNoDataReductionProxy()) {
DCHECK(io_data->params());
« 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