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 e96e4953b8b96ea5c7d607b84112e2f7e26f01ea..f3373a5d88e61e0e251a08e94d579934bc23e929 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1561,7 +1561,7 @@ void Element::attach(const AttachContext& context) |
data->clearComputedStyle(); |
} |
- if (!isActiveInsertionPoint(*this)) |
+ if (!isSlotOrActiveInsertionPoint()) |
LayoutTreeBuilderForElement(*this, context.resolvedStyle).createLayoutObjectIfNeeded(); |
addCallbackSelectors(); |