| Index: Source/core/dom/Document.cpp
|
| ===================================================================
|
| --- Source/core/dom/Document.cpp (revision 201728)
|
| +++ Source/core/dom/Document.cpp (working copy)
|
| @@ -368,7 +368,6 @@
|
| , TreeScope(*this)
|
| , m_hasNodesWithPlaceholderStyle(false)
|
| , m_evaluateMediaQueriesOnStyleRecalc(false)
|
| - , m_shouldProcessFrameLifecycle(false)
|
| , m_pendingSheetLayout(NoLayoutWithPendingSheets)
|
| , m_frame(initializer.frame())
|
| , m_domWindow(m_frame ? m_frame->localDOMWindow() : 0)
|
| @@ -5092,19 +5091,6 @@
|
| updateLayout();
|
| }
|
|
|
| -bool Document::shouldProcessFrameLifecycle()
|
| -{
|
| - if (m_shouldProcessFrameLifecycle)
|
| - return true;
|
| - if (!isRenderingReady())
|
| - return false;
|
| - if ((isHTMLDocument() || isXHTMLDocument()) && !body() && parsing())
|
| - return false;
|
| - // Once the page starts processing the pipeline we should never stop.
|
| - m_shouldProcessFrameLifecycle = true;
|
| - return true;
|
| -}
|
| -
|
| ScriptedAnimationController& Document::ensureScriptedAnimationController()
|
| {
|
| if (!m_scriptedAnimationController) {
|
|
|