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