Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Unified Diff: Source/core/dom/Document.cpp

Issue 1324263002: Merge 201232 "Revert of Centralize deferred commit conditions. (..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2490/
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698