Index: Source/core/dom/DocumentInit.cpp |
diff --git a/Source/core/dom/DocumentInit.cpp b/Source/core/dom/DocumentInit.cpp |
index 31b8feb749b00dbf32219092a59d316a4d7ace3f..1aa80ce299c02316582a410b315dbbbe9d8b6a63 100644 |
--- a/Source/core/dom/DocumentInit.cpp |
+++ b/Source/core/dom/DocumentInit.cpp |
@@ -117,6 +117,12 @@ SandboxFlags DocumentInit::sandboxFlags() const |
return frameForSecurityContext()->loader().effectiveSandboxFlags(); |
} |
+bool DocumentInit::shouldEnforceStrictMixedContentChecking() const |
+{ |
+ ASSERT(frameForSecurityContext()); |
+ return frameForSecurityContext()->loader().shouldEnforceStrictMixedContentChecking(); |
+} |
+ |
Settings* DocumentInit::settings() const |
{ |
ASSERT(frameForSecurityContext()); |