Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 3e34262c3e6bb9fc806f4b41bf30300e00d43dc4..626d8bbbd0d6eb3133cf363313caa781a4c4309f 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; |