| Index: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| index 1f60a834e0e6fd156ad516fa8503f60780e8627f..0863976386bf431323f5792f059b139d5fbcec38 100644
|
| --- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| +++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
|
| @@ -499,12 +499,10 @@ void ChromeResourceDispatcherHostDelegate::AppendStandardResourceThrottles(
|
| || io_data->IsDataReductionProxyEnabled()
|
| #endif
|
| ) {
|
| - bool is_subresource_request =
|
| - resource_type != content::RESOURCE_TYPE_MAIN_FRAME;
|
| content::ResourceThrottle* throttle =
|
| SafeBrowsingResourceThrottleFactory::Create(request,
|
| resource_context,
|
| - is_subresource_request,
|
| + resource_type,
|
| safe_browsing_.get());
|
| if (throttle)
|
| throttles->push_back(throttle);
|
|
|