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

Unified Diff: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp

Issue 2389023002: Deferred frame loading stats v2 (Closed)
Patch Set: move Created logging to LocalDOMWindow; rename wouldLoadBecause Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
index bc0c6fccbfdae428e580591c2cb613fd7549a6c5..9390336a5cb913f5d558a36ec3be4249edaaac83 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -349,6 +349,9 @@ Document* LocalDOMWindow::installNewDocument(const String& mimeType,
}
frame()->selection().updateSecureKeyboardEntryIfActive();
+
+ m_document->maybeRecordLoadReason(Created);
dcheng 2016/10/19 22:27:45 Does this need to be in a if (frame()->isCrossOrig
dgrogan 2016/10/19 22:31:40 Nope, maybeRecordLoadReason does that check.
dcheng 2016/10/19 22:40:02 Ah, sorry for missing that!
+
return m_document;
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698