Index: third_party/WebKit/Source/core/dom/SecurityContext.h |
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.h b/third_party/WebKit/Source/core/dom/SecurityContext.h |
index b420c265258af55c062319ee9c95fddf374d53e7..952e1cd6692f1e1e737bc3887330fe6c29f50982 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.h |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.h |
@@ -68,7 +68,7 @@ public: |
SandboxFlags getSandboxFlags() const { return m_sandboxFlags; } |
bool isSandboxed(SandboxFlags mask) const { return m_sandboxFlags & mask; } |
- void enforceSandboxFlags(SandboxFlags mask); |
+ virtual void enforceSandboxFlags(SandboxFlags mask); |
void setAddressSpace(WebAddressSpace space) { m_addressSpace = space; } |
WebAddressSpace addressSpace() const { return m_addressSpace; } |
@@ -93,6 +93,8 @@ protected: |
void setContentSecurityPolicy(PassRefPtrWillBeRawPtr<ContentSecurityPolicy>); |
+ void applySandboxFlags(SandboxFlags mask); |
+ |
private: |
RefPtr<SecurityOrigin> m_securityOrigin; |
RefPtrWillBeMember<ContentSecurityPolicy> m_contentSecurityPolicy; |