Index: content/browser/frame_host/navigation_request.cc |
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc |
index 93d9887eed0109858c360b3ac98c8b1f21d3dc7d..129bd6c9f313e0a9666e0f36f1900b60884a4da2 100644 |
--- a/content/browser/frame_host/navigation_request.cc |
+++ b/content/browser/frame_host/navigation_request.cc |
@@ -285,7 +285,8 @@ void NavigationRequest::OnRequestStarted(base::TimeTicks timestamp) { |
void NavigationRequest::OnStartChecksComplete( |
NavigationThrottle::ThrottleCheckResult result) { |
- CHECK(result != NavigationThrottle::DEFER); |
+ CHECK(result != NavigationThrottle::DEFER && |
+ result != NavigationThrottle::DESTROYED); |
// Abort the request if needed. This will destroy the NavigationRequest. |
if (result == NavigationThrottle::CANCEL_AND_IGNORE) { |
@@ -300,7 +301,8 @@ void NavigationRequest::OnStartChecksComplete( |
void NavigationRequest::OnRedirectChecksComplete( |
NavigationThrottle::ThrottleCheckResult result) { |
- CHECK(result != NavigationThrottle::DEFER); |
+ CHECK(result != NavigationThrottle::DEFER && |
+ result != NavigationThrottle::DESTROYED); |
// Abort the request if needed. This will destroy the NavigationRequest. |
if (result == NavigationThrottle::CANCEL_AND_IGNORE) { |