Index: Source/core/dom/custom/CustomElementRegistrationContext.cpp |
diff --git a/Source/core/dom/custom/CustomElementRegistrationContext.cpp b/Source/core/dom/custom/CustomElementRegistrationContext.cpp |
index da7d6229d2f2cd42e72fc2a024109a42f81c9bf2..9cf147da59d092f1c7c85915a2dafa5f99d40a7b 100644 |
--- a/Source/core/dom/custom/CustomElementRegistrationContext.cpp |
+++ b/Source/core/dom/custom/CustomElementRegistrationContext.cpp |
@@ -152,7 +152,7 @@ void CustomElementRegistrationContext::setTypeExtension(Element* element, const |
return; |
element->setCustomElementState(Element::WaitingForUpgrade); |
- context->didGiveTypeExtension(element, type); |
+ context->didGiveTypeExtension(element, element->document().convertLocalName(type)); |
} |
void CustomElementRegistrationContext::trace(Visitor* visitor) |