| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 507d627f874bfd3470db64f9c514df53beb3012b..961e8b0efd42ee1d93b1367dda9a6c2a12229574 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -5025,6 +5025,12 @@ Element* Document::pointerLockElement() const
|
| return 0;
|
| }
|
|
|
| +void Document::suppressLoadEvent()
|
| +{
|
| + if (!loadEventFinished())
|
| + m_loadEventProgress = LoadEventCompleted;
|
| +}
|
| +
|
| void Document::decrementLoadEventDelayCount()
|
| {
|
| ASSERT(m_loadEventDelayCount);
|
| @@ -5204,14 +5210,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);
|
|
|