| Index: chrome/browser/chrome_content_browser_client.cc
|
| ===================================================================
|
| --- chrome/browser/chrome_content_browser_client.cc (revision 223110)
|
| +++ chrome/browser/chrome_content_browser_client.cc (working copy)
|
| @@ -1962,6 +1962,7 @@
|
|
|
| bool ChromeContentBrowserClient::CanCreateWindow(
|
| const GURL& opener_url,
|
| + const GURL& opener_top_level_frame_url,
|
| const GURL& source_origin,
|
| WindowContainerType container_type,
|
| const GURL& target_url,
|
| @@ -2030,8 +2031,8 @@
|
|
|
| if (!user_gesture && !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisablePopupBlocking)) {
|
| - if (content_settings->GetContentSetting(opener_url,
|
| - opener_url,
|
| + if (content_settings->GetContentSetting(opener_top_level_frame_url,
|
| + opener_top_level_frame_url,
|
| CONTENT_SETTINGS_TYPE_POPUPS,
|
| std::string()) ==
|
| CONTENT_SETTING_ALLOW) {
|
|
|