Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / components / web_modal / web_contents_modal_dialog_manager.cc
index 85b0448..53b4667 100644 (file)
@@ -146,7 +146,7 @@ void WebContentsModalDialogManager::DidNavigateMainFrame(
   // Close constrained windows if necessary.
   if (!net::registry_controlled_domains::SameDomainOrHost(
           details.previous_url, details.entry->GetURL(),
-          net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES))
+          net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES))
     CloseAllDialogs();
 }