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 6f5ccce080a34e9d6bc408b23ea21d20fac9dfb4..7d0c4c4da0fc19e6bd257a52d11cfcc302a8bc5f 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
@@ -1514,6 +1514,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 |