Chromium Code Reviews

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

Issue 2799093004: Enable ServerTiming support
Patch Set: updates for Patch Set 7 Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 7fdceb563e02fc978e8b27d8013257a931985c6e..17cedb5c3c7644f5d4ce381e0b5959793a68b830 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
@@ -1505,6 +1505,7 @@ void LocalDOMWindow::DispatchLoadEvent() {
DocumentLoadTiming& timing = document_loader->GetTiming();
timing.MarkLoadEventStart();
DispatchEvent(load_event, document());
+ SetHasLoadEventFired();
timing.MarkLoadEventEnd();
DCHECK(document_loader->Fetcher());
// If fetcher->countPreloads() is not empty here, it's full of link
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.h ('k') | third_party/WebKit/Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine