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 822881ae673e4ced00ae24c01def3264468d8f46..69d69312a39e7d43baeffb32e7aa27a0798b7bad 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()); |
@@ -5749,6 +5750,13 @@ WebTaskRunner* Document::timerTaskRunner() const |
return Platform::current()->currentThread()->scheduler()->timerTaskRunner(); |
} |
+void Document::enforceStrictMixedContentChecking() |
+{ |
+ m_strictMixedContentCheckingEnforced = true; |
+ if (frame()) |
+ frame()->loader().client()->didChangeShouldEnforceStrictMixedContentChecking(true); |
alexmos
2015/12/03 20:43:26
It seems that Blink only ever flips the bit from f
estark
2015/12/04 00:19:31
Done for the render frame -> browser API. The brow
alexmos
2015/12/04 23:41:11
Acknowledged.
|
+} |
+ |
DEFINE_TRACE(Document) |
{ |
#if ENABLE(OILPAN) |