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 6bfe36cbb01af071b8949d8083c07ab584ee41f8..3770da8d8120b4b33c1c01aada97753cb17a88a4 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.h |
+++ b/third_party/WebKit/Source/core/dom/Node.h |
@@ -208,6 +208,7 @@ class CORE_EXPORT Node : public EventTarget { |
Node* firstChild() const; |
Node* lastChild() const; |
Node* getRootNode(const GetRootNodeOptions&) const; |
+ Text* nextTextSibling() const; |
Node& treeRoot() const; |
Node& shadowIncludingRoot() const; |
// closed-shadow-hidden is defined at |
@@ -427,6 +428,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 { |