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 d058ecf64fd38205cc828e79db15d31a5971b5ff..9b1e503a37f15b7fce23cb25f065a79fe3f062f8 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 { |