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 |