Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index b3024ae416b67fa73bcfbf6e131f309062f6b101..db507f1b0d5d1c6e6b55e951c117fae04c5ec438 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -1025,6 +1025,7 @@ 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; } |
@@ -1138,6 +1139,7 @@ private: |
// Returns true if Document::recalcStyle() needs to be run. |
bool shouldCallRecalcStyleForDocument(); |
+ bool shouldScheduleStyleRecalc(); |
DocumentLifecycle m_lifecycle; |