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

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

Issue 2799093004: Enable ServerTiming support
Patch Set: Created 3 years, 8 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: 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 8828f7e9a8b178fabe61f7109b89d5a9d0e47606..27f8ef20deebed750a56838dac12abc49ecf8e1f 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -1471,6 +1471,7 @@ void LocalDOMWindow::dispatchLoadEvent() {
DocumentLoadTiming& timing = documentLoader->timing();
timing.markLoadEventStart();
dispatchEvent(loadEvent, document());
+ setHasLoadEventFired();
timing.markLoadEventEnd();
DCHECK(documentLoader->fetcher());
// If fetcher->countPreloads() is not empty here, it's full of link

Powered by Google App Engine
This is Rietveld 408576698