| Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| index 29359cd325866a2243ac92dad940d23443211aff..e9c08e2b9a8ebcc4dcb1174dfbee4b75c3e1f3fc 100644
|
| --- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -661,7 +661,9 @@ void WebRemoteFrameImpl::resetReplicatedContentSecurityPolicy() const
|
| void WebRemoteFrameImpl::setReplicatedShouldEnforceStrictMixedContentChecking(bool shouldEnforce) const
|
| {
|
| DCHECK(frame());
|
| - frame()->securityContext()->setShouldEnforceStrictMixedContentChecking(shouldEnforce);
|
| + WebInsecureRequestPolicy oldPolicy = frame()->securityContext()->getInsecureRequestPolicy();
|
| + WebInsecureRequestPolicy newPolicy = shouldEnforce ? oldPolicy | kBlockAllMixedContent : oldPolicy & ~kBlockAllMixedContent;
|
| + frame()->securityContext()->setInsecureRequestPolicy(newPolicy);
|
| }
|
|
|
| void WebRemoteFrameImpl::setReplicatedPotentiallyTrustworthyUniqueOrigin(bool isUniqueOriginPotentiallyTrustworthy) const
|
|
|