Index: Source/core/dom/DocumentLifecycle.h |
diff --git a/Source/core/dom/DocumentLifecycle.h b/Source/core/dom/DocumentLifecycle.h |
index 025c594d97474534cafe998d82e1aa8d705723c9..7e6f0b7b2f71e36368f090cd0423be3b73d69d5e 100644 |
--- a/Source/core/dom/DocumentLifecycle.h |
+++ b/Source/core/dom/DocumentLifecycle.h |
@@ -122,7 +122,7 @@ public: |
State state() const { return m_state; } |
bool stateAllowsTreeMutations() const; |
- bool stateAllowsRenderTreeMutations() const; |
+ bool stateAllowsLayoutTreeMutations() const; |
bool stateAllowsDetach() const; |
bool stateAllowsLayoutInvalidation() const; |
@@ -155,7 +155,7 @@ inline bool DocumentLifecycle::stateAllowsTreeMutations() const |
&& m_state != InCompositingUpdate; |
} |
-inline bool DocumentLifecycle::stateAllowsRenderTreeMutations() const |
+inline bool DocumentLifecycle::stateAllowsLayoutTreeMutations() const |
{ |
return m_detachCount || m_state == InStyleRecalc; |
} |