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); |
} |
} |