Index: third_party/WebKit/Source/core/dom/Node.h |
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h |
index 0b4f8f89dbe4394f0461c2672da202691e9601a3..e2b51decc12356b3277d1589831e50318bb624fd 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.h |
+++ b/third_party/WebKit/Source/core/dom/Node.h |
@@ -431,6 +431,23 @@ class CORE_EXPORT Node : public EventTarget { |
void setNeedsStyleRecalc(StyleChangeType, const StyleChangeReasonForTracing&); |
void clearNeedsStyleRecalc(); |
+ bool needsReattachLayoutTree() { return getFlag(NeedsReattachLayoutTree); } |
+ bool childNeedsReattachLayoutTree() { |
+ return getFlag(ChildNeedsReattachLayoutTree); |
+ } |
+ |
+ void setNeedsReattachLayoutTree(); |
+ void setChildNeedsReattachLayoutTree() { |
+ setFlag(ChildNeedsReattachLayoutTree); |
+ } |
+ |
+ void clearNeedsReattachLayoutTree() { clearFlag(NeedsReattachLayoutTree); } |
+ void clearChildNeedsReattachLayoutTree() { |
+ clearFlag(ChildNeedsReattachLayoutTree); |
+ } |
+ |
+ void markAncestorsWithChildNeedsReattachLayoutTree(); |
+ |
bool needsDistributionRecalc() const; |
bool childNeedsDistributionRecalc() const { |