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 093dc59f6c22423282dfee8771e6361fd895c008..32b891715216b792563e6bad56d99c64150cef65 100644 |
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc |
@@ -493,12 +493,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); |