| 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 99d7e60608450a10637fcb790d36e0b88dbc3fe4..e75aa02837bfb3cd3c4d58b0833b569ee6389d29 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1305,8 +1305,10 @@ void WebContentsImpl::CreateNewWindow(
|
| int instance_id = GetBrowserPluginGuestManager()->get_next_instance_id();
|
| WebContentsImpl* new_contents_impl =
|
| static_cast<WebContentsImpl*>(new_contents);
|
| - BrowserPluginGuest::CreateWithOpener(instance_id, new_contents_impl,
|
| - GetBrowserPluginGuest(), !!new_contents_impl->opener());
|
| + BrowserPluginGuest::CreateWithOpener(instance_id,
|
| + new_contents_impl->opener() != NULL,
|
| + new_contents_impl,
|
| + GetBrowserPluginGuest());
|
| }
|
| if (params.disposition == NEW_BACKGROUND_TAB)
|
| create_params.initially_hidden = true;
|
|
|