Index: third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp |
diff --git a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp |
index bbd8b190102dee95fe5b8dca49eb9a134da2b8bc..e8ca9eca474c6feec375777a83d3b771b13344b0 100644 |
--- a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp |
+++ b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp |
@@ -48,7 +48,7 @@ LayoutTreeBuilderForElement::LayoutTreeBuilderForElement(Element& element, Compu |
: LayoutTreeBuilder(element, nullptr) |
, m_style(style) |
{ |
- ASSERT(!isActiveInsertionPoint(element)); |
+ ASSERT(!element.isSlotOrActiveInsertionPoint()); |
if (element.isFirstLetterPseudoElement()) { |
if (LayoutObject* nextLayoutObject = FirstLetterPseudoElement::firstLetterTextLayoutObject(element)) |
m_layoutObjectParent = nextLayoutObject->parent(); |