Index: third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp |
diff --git a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp |
index f21e9b0af2c4d68b496cfd7378c6727242c7752e..0447413a069443eb1ed2360a6c6e78c205dd748b 100644 |
--- a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp |
+++ b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.cpp |
@@ -40,7 +40,7 @@ void DistributedNodes::swap(DistributedNodes& other) |
void DistributedNodes::append(PassRefPtrWillBeRawPtr<Node> node) |
{ |
ASSERT(node); |
- ASSERT(!isActiveInsertionPoint(*node)); |
+ ASSERT(!node->isSlotOrActiveInsertionPoint()); |
size_t size = m_nodes.size(); |
m_indices.set(node.get(), size); |
m_nodes.append(node); |