Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 2375293002: Set NeedsReattachLayoutTree and ChildNeedsReattachLayoutTree flags on Node (Closed)
Patch Set: Add comment back Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0188a6ad129d56cd89cd3795064c6e008af35f46..00f86d53bececca1a221003e77f4210c050790eb 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -370,6 +370,14 @@ public:
void setNeedsStyleRecalc(StyleChangeType, const StyleChangeReasonForTracing&);
void clearNeedsStyleRecalc();
+ void needsReattachLayoutTree() { getFlag(NeedsReattachLayoutTree); }
+ void childNeedsReattachLayoutTree() { getFlag(ChildNeedsReattachLayoutTree); }
+
+ void setNeedsReattachLayoutTree() { setFlag(NeedsReattachLayoutTree); }
+ void setChildNeedsReattachLayoutTree() { setFlag(ChildNeedsReattachLayoutTree); }
+
+ void markNodeAndAncestorsWithChildNeedsReattachLayoutTree();
+
bool needsDistributionRecalc() const;
bool childNeedsDistributionRecalc() const { return getFlag(ChildNeedsDistributionRecalcFlag); }

Powered by Google App Engine
This is Rietveld 408576698