| Index: content/browser/web_contents/web_contents_view_aura.cc
|
| diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
|
| index 043efca119ab19182f44b386ac8509aebb75a81f..dee120eb102ded6d9a7b23dd334d6448f61b73b7 100644
|
| --- a/content/browser/web_contents/web_contents_view_aura.cc
|
| +++ b/content/browser/web_contents/web_contents_view_aura.cc
|
| @@ -1169,13 +1169,15 @@ RenderWidgetHostView* WebContentsViewAura::CreateViewForWidget(
|
| navigation_overlay_->StartObservingView(ToRenderWidgetHostViewAura(view));
|
| }
|
|
|
| - view->Show();
|
| + RenderWidgetHostImpl* host_impl =
|
| + RenderWidgetHostImpl::From(render_widget_host);
|
| +
|
| + if (!host_impl->is_hidden())
|
| + view->Show();
|
|
|
| // We listen to drag drop events in the newly created view's window.
|
| aura::client::SetDragDropDelegate(view->GetNativeView(), this);
|
|
|
| - RenderWidgetHostImpl* host_impl =
|
| - RenderWidgetHostImpl::From(render_widget_host);
|
| if (host_impl->overscroll_controller() &&
|
| (!web_contents_->GetDelegate() ||
|
| web_contents_->GetDelegate()->CanOverscrollContent())) {
|
|
|