| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 819235fb787ac547e42460dcdb752c693cca1799..f9982e9fafc3fed1821a6bac5667aeabf85389a8 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5032,6 +5032,12 @@ Element* Document::pointerLockElement() const
|
| return 0;
|
| }
|
|
|
| +void Document::suppressLoadEvent()
|
| +{
|
| + if (!loadEventFinished())
|
| + m_loadEventProgress = LoadEventCompleted;
|
| +}
|
| +
|
| void Document::decrementLoadEventDelayCount()
|
| {
|
| ASSERT(m_loadEventDelayCount);
|
| @@ -5211,14 +5217,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);
|
|
|