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 bca9099e9d7a2fd8d88317f11fce9d5f4798a158..b26639b4b825c6ac17c2493fd7603e8c3e3c8876 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.h |
+++ b/third_party/WebKit/Source/core/dom/Node.h |
@@ -427,6 +427,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 { |