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

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 1390053002: Trace FrameTreeNode Snapshots (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: non-copied FrameTree Created 5 years, 2 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
Index: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index 2e9a114eef9012d0c70904e3f3211b523ec31658..6259f01057bbcf358358cba6ccd76441b8980575 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -494,6 +494,8 @@ void NavigatorImpl::DidNavigate(
if (!did_navigate)
return; // No navigation happened.
+ render_frame_host->frame_tree_node()->frame_tree()->TraceSnapshot();
clamy 2015/10/26 14:45:13 I think this should move to RenderFrameHostManager
nasko 2015/10/26 15:59:23 I would rather not trace in RFHM's method that all
+
// DO NOT ADD MORE STUFF TO THIS FUNCTION! Your component should either listen
// for the appropriate notification (best) or you can add it to
// DidNavigateMainFramePostCommit / DidNavigateAnyFramePostCommit (only if

Powered by Google App Engine
This is Rietveld 408576698