| 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 e9c08e2b9a8ebcc4dcb1174dfbee4b75c3e1f3fc..9e4b630214cf67fe66321f99d5fbdf262205ffff 100644
|
| --- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -658,12 +658,10 @@ void WebRemoteFrameImpl::resetReplicatedContentSecurityPolicy() const
|
| frame()->securityContext()->resetReplicatedContentSecurityPolicy();
|
| }
|
|
|
| -void WebRemoteFrameImpl::setReplicatedShouldEnforceStrictMixedContentChecking(bool shouldEnforce) const
|
| +void WebRemoteFrameImpl::setReplicatedInsecureRequestPolicy(WebInsecureRequestPolicy policy) const
|
| {
|
| DCHECK(frame());
|
| - WebInsecureRequestPolicy oldPolicy = frame()->securityContext()->getInsecureRequestPolicy();
|
| - WebInsecureRequestPolicy newPolicy = shouldEnforce ? oldPolicy | kBlockAllMixedContent : oldPolicy & ~kBlockAllMixedContent;
|
| - frame()->securityContext()->setInsecureRequestPolicy(newPolicy);
|
| + frame()->securityContext()->setInsecureRequestPolicy(policy);
|
| }
|
|
|
| void WebRemoteFrameImpl::setReplicatedPotentiallyTrustworthyUniqueOrigin(bool isUniqueOriginPotentiallyTrustworthy) const
|
|
|