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 14e1545b6b7733572557052b15a5cc5598be65db..3b040a9e631747c4bbd8b65adb0d9ca8069c5496 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -204,6 +204,9 @@ RenderViewHostImpl::RenderViewHostImpl( |
DCHECK(instance_.get()); |
CHECK(delegate_); // http://crbug.com/82827 |
+ LOG(ERROR) << "RVH[" << this << "]::RVH: " |
+ << "(" << GetProcess()->GetID() << ", " << GetRoutingID() << ")"; |
+ |
GetProcess()->EnableSendQueue(); |
if (ResourceDispatcherHostImpl::Get()) { |
@@ -237,6 +240,7 @@ RenderViewHostImpl::~RenderViewHostImpl() { |
} |
delegate_->RenderViewDeleted(this); |
+ LOG(ERROR) << "RVH[" << this << "]::~RVH"; |
} |
RenderViewHostDelegate* RenderViewHostImpl::GetDelegate() const { |
@@ -257,6 +261,9 @@ bool RenderViewHostImpl::CreateRenderView( |
"RenderViewHostImpl::CreateRenderView"); |
DCHECK(!IsRenderViewLive()) << "Creating view twice"; |
+ LOG(ERROR) << "RVH[" << this << "]::CreateRenderView: " |
+ << "(" << GetProcess()->GetID() << ", " << GetRoutingID() << ")"; |
+ |
// The process may (if we're sharing a process with another host that already |
// initialized it) or may not (we have our own process or the old process |
// crashed) have been initialized. Calling Init multiple times will be |
@@ -317,6 +324,9 @@ bool RenderViewHostImpl::CreateRenderView( |
// Let our delegate know that we created a RenderView. |
delegate_->RenderViewCreated(this); |
+ RenderFrameHostImpl::FromID(GetProcess()->GetID(), main_frame_routing_id_) |
+ ->SetRenderFrameCreated(true); |
+ |
return true; |
} |