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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

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/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index eef8d64119276eeea4485bd17066d9bd44fd59dc..28284e32ca484bb91bb4774278641b452fdb07e8 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1831,6 +1831,7 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change)
// TODO(nainar): Remove the style parameter being passed into buildLayoutTree().
// ComputedStyle will now be stored on Node and accessed in buildLayoutTree()
Bugs Nash 2016/09/29 03:15:24 This comment needs to be updated to reflect the ne
nainar 2016/09/29 04:05:15 Done.
// using mutableComputedStyle().
+ markNodeAndAncestorsWithChildNeedsReattachLayoutTree();
return buildLayoutTree(*newStyle);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Node.h » ('j') | third_party/WebKit/Source/core/dom/Node.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698