Index: content/browser/loader/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
index 09644d64cce082426ca5c8ae0c9124d6d51b02ce..d342ec3c84d389dd0e5563a048a1a4be21813b14 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -387,6 +387,17 @@ void ResourceDispatcherHostImpl::RemoveResourceContext( |
active_resource_contexts_.erase(context); |
} |
+void ResourceDispatcherHostImpl::ResumeResponseDeferredAtStart( |
+ const GlobalRequestID& id) { |
+ ResourceLoader* loader = GetLoader(id); |
+ if (loader) { |
+ // The response we were meant to resume could have already been canceled. |
+ ResourceRequestInfoImpl* info = loader->GetRequestInfo(); |
+ if (info->cross_site_handler()) |
+ info->cross_site_handler()->ResumeResponseDeferredAtStart(id.request_id); |
+ } |
+} |
+ |
void ResourceDispatcherHostImpl::CancelRequestsForContext( |
ResourceContext* context) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |