Index: content/browser/loader/navigation_resource_throttle.cc |
diff --git a/content/browser/loader/navigation_resource_throttle.cc b/content/browser/loader/navigation_resource_throttle.cc |
index b8787626e829a86be9c43a5583d41c5bfe093eab..dcdceaea91c8e47c1c9e03dcf01e229181bba9f2 100644 |
--- a/content/browser/loader/navigation_resource_throttle.cc |
+++ b/content/browser/loader/navigation_resource_throttle.cc |
@@ -354,7 +354,8 @@ void NavigationResourceThrottle::OnUIChecksPerformed( |
CancelAndIgnore(); |
} else if (result == NavigationThrottle::CANCEL) { |
Cancel(); |
- } else if (result == NavigationThrottle::BLOCK_REQUEST) { |
+ } else if (result == NavigationThrottle::BLOCK_REQUEST || |
+ result == NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE) { |
CancelWithError(net::ERR_BLOCKED_BY_CLIENT); |
} else if (result == NavigationThrottle::BLOCK_RESPONSE) { |
// TODO(mkwst): If we cancel the main frame request with anything other than |