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

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

Issue 2760233004: Make all setNeedsReattachLayoutTree happen from updateStyle. (Closed)
Patch Set: Included https://codereview.chromium.org/2760953003/ Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
index 2dbafa110bc5bb1dbcb9f8e3ddc839e3fe922204..46aacf5a09266351f9e34286c481c4bf70ec6f1c 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
@@ -788,7 +788,6 @@ void ContainerNode::detachLayoutTree(const AttachContext& context) {
child->detachLayoutTree(childrenContext);
setChildNeedsStyleRecalc();
- setChildNeedsReattachLayoutTree();
Node::detachLayoutTree(context);
}
@@ -801,10 +800,6 @@ void ContainerNode::childrenChanged(const ChildrenChange& change) {
setChildNeedsStyleRecalc();
markAncestorsWithChildNeedsStyleRecalc();
}
- if (!childNeedsReattachLayoutTree()) {
- setChildNeedsReattachLayoutTree();
- markAncestorsWithChildNeedsReattachLayoutTree();
- }
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698