Chromium Code Reviews| 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 56e1ffd450cef66d2a66aa57d82aae5747b99de0..10b3975c00fd360a815f90469c6dc7af67200d45 100644 |
| --- a/content/browser/web_contents/web_contents_impl.cc |
| +++ b/content/browser/web_contents/web_contents_impl.cc |
| @@ -308,6 +308,7 @@ WebContentsImpl::WebContentsImpl( |
| controller_(this, browser_context), |
| render_view_host_delegate_view_(NULL), |
| opener_(opener), |
| + created_with_opener_(opener != NULL), |
|
nasko
2014/04/08 22:43:25
nit: Most places I've seen use !!ptr for setting b
davidben
2014/04/08 23:48:23
Done. (Huh, didn't know that was our style. Okay.)
|
| #if defined(OS_WIN) |
| accessible_parent_(NULL), |
| #endif |
| @@ -3544,7 +3545,8 @@ bool WebContentsImpl::CreateRenderViewForRenderManager( |
| if (!static_cast<RenderViewHostImpl*>( |
| render_view_host)->CreateRenderView(base::string16(), |
| opener_route_id, |
| - max_page_id)) { |
| + max_page_id, |
| + created_with_opener_)) { |
| return false; |
| } |