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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSlotElement.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/html/HTMLSlotElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
index e2b48feb57c9dc2a3c98f66d7729d7067a5111d8..212a9c34a2b546d02d279698dd57e53f40d907ed 100644
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp
@@ -184,7 +184,7 @@ AtomicString HTMLSlotElement::name() const {
void HTMLSlotElement::attachLayoutTree(const AttachContext& context) {
if (supportsDistribution()) {
for (auto& node : m_distributedNodes) {
- if (node->needsAttach())
+ if (node->needsReattachLayoutTree())
node->attachLayoutTree(context);
}
}

Powered by Google App Engine
This is Rietveld 408576698