Index: third_party/WebKit/Source/core/dom/SecurityContext.cpp |
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.cpp b/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
index 764ecf919e61a097308e808369aa778dd6aa11c0..0938ac155a3a36f3c8cbe9ace8c877349aaa8ad0 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
@@ -60,6 +60,11 @@ void SecurityContext::setContentSecurityPolicy(PassRefPtrWillBeRawPtr<ContentSec |
m_contentSecurityPolicy = contentSecurityPolicy; |
} |
+ContentSecurityPolicy* SecurityContext::contentSecurityPolicy() const |
+{ |
+ return m_contentSecurityPolicy.get(); |
+} |
+ |
bool SecurityContext::isSecureTransitionTo(const KURL& url) const |
{ |
// If we haven't initialized our security origin by now, this is probably |