diff options
Diffstat (limited to 'content/browser/loader/resource_loader.cc')
-rw-r--r-- | content/browser/loader/resource_loader.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/browser/loader/resource_loader.cc b/content/browser/loader/resource_loader.cc index c99fe5b..8f70ab5 100644 --- a/content/browser/loader/resource_loader.cc +++ b/content/browser/loader/resource_loader.cc @@ -9,6 +9,7 @@ #include "base/metrics/histogram.h" #include "base/time/time.h" #include "content/browser/child_process_security_policy_impl.h" +#include "content/browser/loader/cross_site_resource_handler.h" #include "content/browser/loader/resource_loader_delegate.h" #include "content/browser/loader/resource_request_info_impl.h" #include "content/browser/ssl/ssl_client_auth_handler.h" @@ -165,10 +166,10 @@ void ResourceLoader::MarkAsTransferring(const GURL& target_url) { } void ResourceLoader::CompleteTransfer() { - DCHECK_EQ(DEFERRED_REDIRECT, deferred_stage_); + DCHECK_EQ(DEFERRED_READ, deferred_stage_); is_transferring_ = false; - Resume(); + GetRequestInfo()->cross_site_handler()->ResumeResponse(); } ResourceRequestInfoImpl* ResourceLoader::GetRequestInfo() { |