Index: third_party/WebKit/Source/core/loader/MixedContentChecker.cpp |
diff --git a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp |
index fdcc09b14a13bba18e331b1fa85bb1848942e2f5..0bbd66550c0dad0b2577e85de3f1e0270971b115 100644 |
--- a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp |
+++ b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp |
@@ -312,7 +312,7 @@ bool MixedContentChecker::shouldBlockFetch(LocalFrame* frame, WebURLRequest::Req |
// If we're in strict mode, we'll automagically fail everything, and intentionally skip |
// the client checks in order to prevent degrading the site's security UI. |
- bool strictMode = mixedFrame->document()->shouldEnforceStrictMixedContentChecking() || settings->strictMixedContentChecking(); |
+ bool strictMode = mixedFrame->securityContext()->shouldEnforceStrictMixedContentChecking() || settings->strictMixedContentChecking(); |
ContextType contextType = contextTypeFromContext(requestContext, mixedFrame); |