| Index: sky/engine/core/dom/Document.cpp
|
| diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
|
| index 4784cffa892b1ab7899c29eaa27b6cb64134b5dd..6e00ce3644000aa275a1e64e52793b9c8e90eb43 100644
|
| --- a/sky/engine/core/dom/Document.cpp
|
| +++ b/sky/engine/core/dom/Document.cpp
|
| @@ -941,8 +941,6 @@ bool Document::shouldScheduleRenderTreeUpdate() const
|
| // InPreLayout will recalc style itself. There's no reason to schedule another recalc.
|
| if (m_lifecycle.state() == DocumentLifecycle::InPreLayout)
|
| return false;
|
| - if (!shouldScheduleLayout())
|
| - return false;
|
| return true;
|
| }
|
|
|
| @@ -1441,11 +1439,6 @@ void Document::setParsing(bool b)
|
| m_elementDataCache = ElementDataCache::create();
|
| }
|
|
|
| -bool Document::shouldScheduleLayout() const
|
| -{
|
| - return isActive();
|
| -}
|
| -
|
| int Document::elapsedTime() const
|
| {
|
| return static_cast<int>((currentTime() - m_startTime) * 1000);
|
|
|