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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp

Issue 2473743003: Call Element::rebuildLayoutTree from Document::updateStyle directly (Closed)
Patch Set: Commit the renames Created 4 years, 1 month 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/shadow/ElementShadow.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
index 43b2518f34f4bb3ebcbb8840e27f3616d2765e96..ef513d46d28e9e0a22fe4591446d5c3519ff6d38 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp
@@ -109,7 +109,7 @@ void ElementShadow::attach(const Node::AttachContext& context) {
for (ShadowRoot* root = &youngestShadowRoot(); root;
root = root->olderShadowRoot()) {
- if (root->needsAttach())
+ if (root->needsReattachLayoutTree())
root->attachLayoutTree(childrenContext);
}
}

Powered by Google App Engine
This is Rietveld 408576698