diff --git a/dom/base/CustomElementRegistry.cpp b/dom/base/CustomElementRegistry.cpp index a27218f02e..007dfcb4d5 100644 --- a/dom/base/CustomElementRegistry.cpp +++ b/dom/base/CustomElementRegistry.cpp @@ -799,7 +799,7 @@ TryUpgrade(nsINode& aNode) CustomElementData* ceData = element->GetCustomElementData(); if (ceData) { NodeInfo* nodeInfo = element->NodeInfo(); - nsAtom* typeAtom = ceData->GetCustomElementType(); + nsIAtom* typeAtom = ceData->GetCustomElementType(); CustomElementDefinition* definition = nsContentUtils::LookupCustomElementDefinition(nodeInfo->GetDocument(), nodeInfo->NameAtom(),