summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r--chrome/browser/renderer_host/resource_dispatcher_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc
index 6223f5a..6d3b986 100644
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc
@@ -711,7 +711,7 @@ void ResourceDispatcherHost::FollowDeferredRedirect(
const GURL& new_first_party_for_cookies) {
PendingRequestList::iterator i = pending_requests_.find(
GlobalRequestID(child_id, request_id));
- if (i == pending_requests_.end()) {
+ if (i == pending_requests_.end() || !i->second->status().is_success()) {
DLOG(WARNING) << "FollowDeferredRedirect for invalid request";
return;
}