| Index: content/browser/renderer_host/render_view_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
|
| index 4a8e86b36ef797495dfc657c799570b1bfd82d86..3a7bdce6f06e4c3fd2cb05fa612107225934d69c 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -979,7 +979,11 @@ void RenderViewHostImpl::OnShowView(int route_id,
|
|
|
| void RenderViewHostImpl::OnShowWidget(int route_id,
|
| const gfx::Rect& initial_rect) {
|
| - if (is_active_)
|
| + if (delegate_->GetFrameTree()
|
| + ->root()
|
| + ->render_manager()
|
| + ->current_host()
|
| + ->is_active())
|
| delegate_->ShowCreatedWidget(route_id, initial_rect);
|
| Send(new ViewMsg_Move_ACK(route_id));
|
| }
|
|
|