Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2841833002: Renamed LoadCommittedDetails.is_in_page to is_same_document. (Closed)
Patch Set: I said "once and for all" Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 661b4db001cf8a8554d4b13d30ff3275dc282e73..e17f555df95651a9f82db477c4c9ad9e175d253c 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3544,7 +3544,7 @@ void WebContentsImpl::DidNavigateAnyFramePostCommit(
has_accessed_initial_document_ = false;
// If we navigate off the page, close all JavaScript dialogs.
- if (!details.is_in_page)
+ if (!details.is_same_document)
CancelActiveAndPendingDialogs();
// If this is a user-initiated navigation, start allowing JavaScript dialogs
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl.cc ('k') | content/public/browser/navigation_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698