| Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| index d0c6f2176eeb22d6831d589ca52935a4299cf71f..c70408f8382a5c7bbe2dd73c2441c8f2f321229e 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
|
| @@ -1513,13 +1513,7 @@ bool FrameLoader::shouldEnforceStrictMixedContentChecking() const
|
| if (!parentFrame)
|
| return false;
|
|
|
| - // FIXME: We need a way to propagate strict mixed content checking flags to
|
| - // out-of-process frames. For now, we'll always enforce.
|
| - if (!parentFrame->isLocalFrame())
|
| - return true;
|
| -
|
| - ASSERT(toLocalFrame(parentFrame)->document());
|
| - return toLocalFrame(parentFrame)->document()->shouldEnforceStrictMixedContentChecking();
|
| + return parentFrame->securityContext()->shouldEnforceStrictMixedContentChecking();
|
| }
|
|
|
| SecurityContext::InsecureRequestsPolicy FrameLoader::insecureRequestsPolicy() const
|
|
|