| Index: content/browser/loader/cross_site_resource_handler.cc
|
| diff --git a/content/browser/loader/cross_site_resource_handler.cc b/content/browser/loader/cross_site_resource_handler.cc
|
| index 3d7862ff56974f5585e39793a31ddaaae34db4a2..d283b6a27eeabd2d63b2a0b8224224d05d28f7f5 100644
|
| --- a/content/browser/loader/cross_site_resource_handler.cc
|
| +++ b/content/browser/loader/cross_site_resource_handler.cc
|
| @@ -200,9 +200,10 @@ bool CrossSiteResourceHandler::OnNormalResponseStarted(
|
| return DeferForNavigationPolicyCheck(info, response, defer);
|
| }
|
|
|
| - bool swap_needed = should_transfer ||
|
| - CrossSiteRequestManager::GetInstance()->
|
| - HasPendingCrossSiteRequest(info->GetChildID(), info->GetRouteID());
|
| + bool swap_needed =
|
| + should_transfer ||
|
| + CrossSiteRequestManager::GetInstance()->HasPendingCrossSiteRequest(
|
| + info->GetChildID(), info->GetRenderFrameID());
|
|
|
| // If this is a download, just pass the response through without doing a
|
| // cross-site check. The renderer will see it is a download and abort the
|
| @@ -292,7 +293,7 @@ void CrossSiteResourceHandler::OnResponseCompleted(
|
| if (has_started_response_ ||
|
| status.status() != net::URLRequestStatus::FAILED ||
|
| !CrossSiteRequestManager::GetInstance()->HasPendingCrossSiteRequest(
|
| - info->GetChildID(), info->GetRouteID())) {
|
| + info->GetChildID(), info->GetRenderFrameID())) {
|
| next_handler_->OnResponseCompleted(status, security_info, defer);
|
| return;
|
| }
|
|
|