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 a215cf9cc02bbc4ea443f940b799c5c78d6b8f53..9c2eb030a5a196da18f038529d331ff610c14650 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(); |