Index: Source/core/dom/DocumentInit.h |
diff --git a/Source/core/dom/DocumentInit.h b/Source/core/dom/DocumentInit.h |
index 893662fb0e7eea6a5b9113026d3b6799e3e8ea6a..d4ef2872ad2b5cc6a1f38d9cf3d50a26bf4d019c 100644 |
--- a/Source/core/dom/DocumentInit.h |
+++ b/Source/core/dom/DocumentInit.h |
@@ -49,6 +49,7 @@ public: |
Frame* frame() const { return m_frame; } |
HTMLImport* import() const { return m_import; } |
+ bool hasSecurityContext() const { return frameForSecurityContext(); } |
bool shouldTreatURLAsSrcdocDocument() const; |
bool shouldSetURL() const; |
SandboxFlags sandboxFlags() const; |
@@ -57,6 +58,8 @@ public: |
Settings* settings() const; |
private: |
+ Frame* frameForSecurityContext() const; |
+ |
KURL m_url; |
Frame* m_frame; |
HTMLImport* m_import; |