| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 65dab9e1e84c7631022c45e82d3418dcdf16b936..b2b0c3ab70dc761ff5ce8d21c18efe17b29228e6 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5140,6 +5140,12 @@ Element* Document::pointerLockElement() const
|
| return 0;
|
| }
|
|
|
| +void Document::suppressLoadEvent()
|
| +{
|
| + if (!loadEventFinished())
|
| + m_loadEventProgress = LoadEventCompleted;
|
| +}
|
| +
|
| void Document::decrementLoadEventDelayCount()
|
| {
|
| ASSERT(m_loadEventDelayCount);
|
| @@ -5319,14 +5325,6 @@ bool Document::hasActiveParser()
|
| return m_activeParserCount || (m_parser && m_parser->processingData());
|
| }
|
|
|
| -void Document::decrementActiveParserCount()
|
| -{
|
| - --m_activeParserCount;
|
| - if (!frame())
|
| - return;
|
| - frame()->loader().checkLoadComplete();
|
| -}
|
| -
|
| void Document::setContextFeatures(ContextFeatures& features)
|
| {
|
| m_contextFeatures = PassRefPtrWillBeRawPtr<ContextFeatures>(features);
|
|
|