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 34fbce5a62c141cc06b8ccb8cae1bb1ab97c83d5..c7858ef08887d3009b5302a31a496135c9e5638a 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.cpp |
@@ -151,6 +151,11 @@ Node* HTMLSlotElement::distributedNodePreviousTo(const Node& node) const |
return m_distributedNodes[index - 1].get(); |
} |
+AtomicString HTMLSlotElement::name() const |
+{ |
+ return normalizeSlotName(fastGetAttribute(HTMLNames::nameAttr)); |
+} |
+ |
void HTMLSlotElement::attach(const AttachContext& context) |
{ |
for (auto& node : m_distributedNodes) { |