Index: third_party/WebKit/Source/core/loader/FrameLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h |
index 127d12b75c152d8954bc577e112b1058b4ee0747..d57a9c09ae189ae25de484b1b77a630f8291cd3a 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h |
@@ -105,6 +105,9 @@ public: |
// above the document without risking a URL spoof. |
void didAccessInitialDocument(); |
+ // Returns true if |didAccessInitialDocument| was called. |
+ bool hasAccessedInitialDocument() const { return m_hasAccessedInitialDocument; } |
+ |
// If the initial empty document is showing and has been accessed, this |
// cancels the timer and immediately notifies the client in cases that |
// waiting to notify would allow a URL spoof. |
@@ -280,7 +283,7 @@ private: |
Timer<FrameLoader> m_checkTimer; |
- bool m_didAccessInitialDocument; |
+ bool m_hasAccessedInitialDocument; |
Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
SandboxFlags m_forcedSandboxFlags; |