Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
index 2e8092195d2007a77b03c818f595940bde56bfc0..1a4a22fd3c8ebafe00397768f56f2f8baae31fcd 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
@@ -313,6 +313,9 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow, |
FloatSize getViewportSize(IncludeScrollbarsInRect) const; |
+ void setHasLoadEventFired() { m_hasLoadEventFired = true; } |
+ bool hasLoadEventFired() { return m_hasLoadEventFired; } |
+ |
protected: |
// EventTarget overrides. |
void addedEventListener(const AtomicString& eventType, |
@@ -343,6 +346,7 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow, |
TaskRunnerTimer<LocalDOMWindow> m_unusedPreloadsTimer; |
bool m_shouldPrintWhenFinishedLoading; |
+ bool m_hasLoadEventFired = false; |
mutable Member<Screen> m_screen; |
mutable Member<History> m_history; |