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

Unified Diff: chrome/browser/ui/web_contents_modal_dialog_manager.cc

Issue 13979002: Add support for split PSL list distinctions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed chrome_frame compilation issue Created 7 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: chrome/browser/ui/web_contents_modal_dialog_manager.cc
diff --git a/chrome/browser/ui/web_contents_modal_dialog_manager.cc b/chrome/browser/ui/web_contents_modal_dialog_manager.cc
index ab243b395d6c29b1e667d18b973c7cfe54859a00..ae24082af857dc78b4fa8f4b0dfc32b6f956fd41 100644
--- a/chrome/browser/ui/web_contents_modal_dialog_manager.cc
+++ b/chrome/browser/ui/web_contents_modal_dialog_manager.cc
@@ -135,7 +135,8 @@ void WebContentsModalDialogManager::DidNavigateMainFrame(
const content::FrameNavigateParams& params) {
// Close constrained windows if necessary.
if (!net::RegistryControlledDomainService::SameDomainOrHost(
- details.previous_url, details.entry->GetURL()))
+ details.previous_url, details.entry->GetURL(),
+ net::RCDS::EXCLUDE_PRIVATE_REGISTRIES))
CloseAllDialogs();
}

Powered by Google App Engine
This is Rietveld 408576698