Index: Source/core/dom/DocumentInit.cpp |
diff --git a/Source/core/dom/DocumentInit.cpp b/Source/core/dom/DocumentInit.cpp |
index c57120c6d3783ee5ffa2d66652c864cb4e523560..6d82f99e4dbc30bd5b0869e9d1b320bcee8dcbee 100644 |
--- a/Source/core/dom/DocumentInit.cpp |
+++ b/Source/core/dom/DocumentInit.cpp |
@@ -125,6 +125,12 @@ bool DocumentInit::shouldEnforceStrictMixedContentChecking() const |
return frameForSecurityContext()->loader().shouldEnforceStrictMixedContentChecking(); |
} |
+SecurityContext::InsecureContentPolicy DocumentInit::insecureContentPolicy() const |
+{ |
+ ASSERT(frameForSecurityContext()); |
+ return frameForSecurityContext()->loader().insecureContentPolicy(); |
+} |
+ |
bool DocumentInit::isHostedInReservedIPRange() const |
{ |
if (LocalFrame* frame = frameForSecurityContext()) { |