| Index: Source/core/dom/Document.h
|
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
|
| index 11e886082f6113a2d330fb948b95ba5d2c0c0423..50738b36665a42183cf9908b8703a0c34b5a547c 100644
|
| --- a/Source/core/dom/Document.h
|
| +++ b/Source/core/dom/Document.h
|
| @@ -606,9 +606,10 @@ public:
|
|
|
| void setParsing(bool);
|
| bool parsing() const { return m_bParsing; }
|
| - int minimumLayoutDelay();
|
|
|
| bool shouldScheduleLayout();
|
| + bool shouldScheduleStyleRecalc();
|
| +
|
| bool shouldParserYieldAgressivelyBeforeScriptExecution();
|
| int elapsedTime() const;
|
|
|
| @@ -997,7 +998,6 @@ public:
|
| void setNeedsNotifyRemoveAllPendingStylesheet() { m_needsNotifyRemoveAllPendingStylesheet = true; }
|
| void clearStyleResolver();
|
|
|
| - bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle::InStyleRecalc; }
|
|
|
| // Return a Locale for the default locale if the argument is null or empty.
|
| Locale& getCachedLocale(const AtomicString& locale = nullAtom);
|
| @@ -1026,8 +1026,10 @@ public:
|
| Frame* executingFrame();
|
|
|
| DocumentLifecycleNotifier& lifecycleNotifier();
|
| + DocumentLifecycle& lifecycle() { return m_lifecycle; }
|
| bool isActive() const { return m_lifecycle.isActive(); }
|
| bool isStopped() const { return m_lifecycle.state() == DocumentLifecycle::Stopped; }
|
| + bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle::InStyleRecalc; }
|
|
|
| enum HttpRefreshType {
|
| HttpRefreshFromHeader,
|
| @@ -1238,7 +1240,6 @@ private:
|
| LoadEventProgress m_loadEventProgress;
|
|
|
| double m_startTime;
|
| - bool m_overMinimumLayoutThreshold;
|
|
|
| OwnPtr<ScriptRunner> m_scriptRunner;
|
|
|
|
|