| 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 1e47f442157510b83b9c9d82cd55cf388366721c..1a5c04ea402a87cad7c82455b83734724933b8f1 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -447,6 +447,7 @@ Document::Document(const DocumentInit& initializer, DocumentClassFlags documentC
|
| , m_styleRecalcElementCounter(0)
|
| , m_parserSyncPolicy(AllowAsynchronousParsing)
|
| , m_nodeCount(0)
|
| + , m_strictMixedContentCheckingEnforced(false)
|
| {
|
| if (m_frame) {
|
| ASSERT(m_frame->page());
|
| @@ -5767,6 +5768,13 @@ WebTaskRunner* Document::timerTaskRunner() const
|
| return Platform::current()->currentThread()->scheduler()->timerTaskRunner();
|
| }
|
|
|
| +void Document::enforceStrictMixedContentChecking()
|
| +{
|
| + securityContext().setShouldEnforceStrictMixedContentChecking(true);
|
| + if (frame())
|
| + frame()->loader().client()->didEnforceStrictMixedContentChecking();
|
| +}
|
| +
|
| DEFINE_TRACE(Document)
|
| {
|
| #if ENABLE(OILPAN)
|
|
|