| 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 ee5afdf45da10fe739c4b70b186c9ec9400f8117..bf1cc85401119e79de647fc4055f58399f7dfe9b 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1609,7 +1609,8 @@ void WebContentsImpl::CreateNewWindow(
|
| create_params.opener_suppressed = params.opener_suppressed;
|
| if (params.disposition == NEW_BACKGROUND_TAB)
|
| create_params.initially_hidden = true;
|
| - create_params.renderer_initiated_creation = true;
|
| + create_params.renderer_initiated_creation =
|
| + main_frame_route_id != MSG_ROUTING_NONE;
|
|
|
| WebContentsImpl* new_contents = NULL;
|
| if (!is_guest) {
|
|
|