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

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

Issue 1390053002: Trace FrameTreeNode Snapshots (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TraceSnapshot only in 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/frame_tree_node.cc
diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc
index 876be33a452102bfbf6ad7c88d0a43a5fb844afb..942307cfeb3038b10a70f47c7f091163c32532fc 100644
--- a/content/browser/frame_host/frame_tree_node.cc
+++ b/content/browser/frame_host/frame_tree_node.cc
@@ -192,6 +192,7 @@ void FrameTreeNode::SetCurrentURL(const GURL& url) {
if (!has_committed_real_load_ && url != GURL(url::kAboutBlankURL))
has_committed_real_load_ = true;
current_url_ = url;
+ frame_tree_->TraceSnapshot();
nasko 2015/10/28 20:17:55 Keep in mind that since the tracing here, it will
benjhayden 2015/10/28 20:50:50 Good to know! If it turns out that these snapshots
}
void FrameTreeNode::SetCurrentOrigin(const url::Origin& origin) {

Powered by Google App Engine
This is Rietveld 408576698