| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 697a04b5a43ac986c71ab2cb0b48c6751cfcca1b..3f9fadbc273a6d4d669898e9393e5bbdb82ed9f0 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -5866,9 +5866,8 @@ void Document::enforceInsecureRequestPolicy(WebInsecureRequestPolicy policy)
|
| // existing policy or the newly enforced policy triggers upgrades or
|
| // blockage.
|
| setInsecureRequestPolicy(getInsecureRequestPolicy() | policy);
|
| -
|
| - if (frame() && policy & kBlockAllMixedContent)
|
| - frame()->loader().client()->didEnforceStrictMixedContentChecking();
|
| + if (frame())
|
| + frame()->loader().client()->didEnforceInsecureRequestPolicy(getInsecureRequestPolicy());
|
| }
|
|
|
| void Document::setShadowCascadeOrder(ShadowCascadeOrder order)
|
|
|