Index: third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
index 02e9279d0792cbb813b7d80195ed553274ce64ec..2af5bde13f26900e0d8b403d1a61251b83c4332c 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
@@ -315,7 +315,7 @@ bool HTMLSlotElement::hasAssignedNodesSlow() const |
DCHECK(root); |
DCHECK(root->isV1()); |
SlotAssignment& assignment = root->ensureSlotAssignment(); |
- if (assignment.findSlot(*this) != this) |
+ if (assignment.findSlotByName(name()) != this) |
return false; |
return assignment.findHostChildBySlotName(name()); |
} |