Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 6cbf61b0d70083a0a2897d15925d173d7540b60a..d21c4a4caa3b8bdd737bfb3db32283ada019c354 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; |
@@ -998,7 +999,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); |
@@ -1027,8 +1027,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, |
@@ -1236,7 +1238,6 @@ private: |
LoadEventProgress m_loadEventProgress; |
double m_startTime; |
- bool m_overMinimumLayoutThreshold; |
OwnPtr<ScriptRunner> m_scriptRunner; |