summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/web_contents.cc')
-rw-r--r--chrome/browser/web_contents.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/web_contents.cc b/chrome/browser/web_contents.cc
index d86d5f4..6d55ed8 100644
--- a/chrome/browser/web_contents.cc
+++ b/chrome/browser/web_contents.cc
@@ -1023,9 +1023,12 @@ void WebContents::OnCrossSiteResponse(int new_render_process_host_id,
if (IsShowingInterstitialPage()) {
DCHECK(original_render_view_host_);
original_render_view_host_->ClosePage(new_render_process_host_id,
- new_request_id);
+ new_request_id,
+ false); // is_closing_browser
} else {
- render_view_host_->ClosePage(new_render_process_host_id, new_request_id);
+ render_view_host_->ClosePage(new_render_process_host_id,
+ new_request_id,
+ false); // is_closing_browser
}
// ResourceDispatcherHost has told us to run the onunload handler, which