| 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 681c3f1294106099e26e9b5e690e39038250a3bb..52a599431905c36862a4b60609fe11cad41f7c0a 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -5438,6 +5438,11 @@ bool Document::hasActiveParser()
|
| return m_activeParserCount || (m_parser && m_parser->processingData());
|
| }
|
|
|
| +bool Document::isInitialEmptyDocument() const
|
| +{
|
| + return m_frame && !m_frame->loader().stateMachine()->committedFirstRealDocumentLoad();
|
| +}
|
| +
|
| void Document::setContextFeatures(ContextFeatures& features)
|
| {
|
| m_contextFeatures = PassRefPtrWillBeRawPtr<ContextFeatures>(features);
|
|
|