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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 551443002: Keep a copy of page id in RenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/common/frame_messages.h ('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_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index f5f7c774390858ba5800e73787c4d8d08acb0fb6..3229772219cbf287b87f087a59987baaedb4cea0 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -2230,6 +2230,8 @@ void RenderFrameImpl::didCommitProvisionalLoad(
}
}
+ Send(new FrameHostMsg_DidAssignPageId(routing_id_, render_view_->page_id_));
Charlie Reis 2014/09/08 16:04:37 This part looks new to me, but I think it makes se
Avi (use Gerrit) 2014/09/08 16:40:48 Yes, this is new. There is so much uncertainty abo
Charlie Reis 2014/09/08 16:51:00 I tossed in a NOTREACHED in the else block and the
Avi (use Gerrit) 2014/09/08 17:02:09 It would indeed be good to know what's going on. D
Charlie Reis 2014/09/08 17:28:53 I took a closer look, and we get there for this co
+
FOR_EACH_OBSERVER(RenderViewObserver, render_view_->observers_,
DidCommitProvisionalLoad(frame, is_new_navigation));
FOR_EACH_OBSERVER(RenderFrameObserver, observers_,
« no previous file with comments | « content/common/frame_messages.h ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698