Commit 233eb509 authored by megjablon's avatar megjablon Committed by Commit bot

DataReductionProxyResourceThrottle::MaybeCreate should check for valid DataReductionProxyIOData.

TBR=bengr@chromium.org
BUG=458745

Review URL: https://codereview.chromium.org/923333002

Cr-Commit-Position: refs/heads/master@{#316367}
parent 96075be8
......@@ -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());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment