Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1098)

Unified Diff: content/renderer/render_view_impl.cc

Issue 869533004: Fix WCO::RenderFrameCreated and WCO::RenderFrameDeleted notifications. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes for RenderFrameHostChanged. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 3177cf3f81977c05611cade0efffcefe6815aba0..5c712085bdc1539486d99c77af0727e8066fb7df 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -668,6 +668,9 @@ RenderViewImpl::RenderViewImpl(const ViewMsg_New_Params& params)
enumeration_completion_id_(0),
session_storage_namespace_id_(params.session_storage_namespace_id),
next_snapshot_id_(0) {
+ LOG(ERROR) << "RV[" << this << "]::ctor:"
+ << " process:" << getpid()
+ << " routing_id:" << params.view_id;
}
void RenderViewImpl::Initialize(const ViewMsg_New_Params& params,
@@ -678,6 +681,10 @@ void RenderViewImpl::Initialize(const ViewMsg_New_Params& params,
if (params.opener_route_id != MSG_ROUTING_NONE && was_created_by_renderer)
opener_id_ = params.opener_route_id;
+ LOG(ERROR) << "RV[" << this << "]::Initialize:"
+ << " process:" << getpid()
+ << " routing_id:" << routing_id_;
+
// Ensure we start with a valid next_page_id_ from the browser.
DCHECK_GE(next_page_id_, 0);
@@ -858,6 +865,10 @@ RenderViewImpl::~RenderViewImpl() {
FOR_EACH_OBSERVER(RenderViewObserver, observers_, RenderViewGone());
FOR_EACH_OBSERVER(RenderViewObserver, observers_, OnDestruct());
+
+ LOG(ERROR) << "RV[" << this << "]::dtor:"
+ << " process:" << getpid()
+ << " routing_id:" << routing_id_;
}
/*static*/
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698