summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@protonmail.com>2022-10-09 12:59:21 +0800
committerJob Bautista <jobbautista9@protonmail.com>2022-10-09 12:59:21 +0800
commit5bc4892122ddbf7b5780ebbe735393aba4e201d2 (patch)
tree4ac6820f1b5924365708b7a5edee5030511962af
parent58670d66e5e106b5d2da6a2c27f469441c80c9d8 (diff)
downloaduxp-5bc4892122ddbf7b5780ebbe735393aba4e201d2.tar.gz
Issue #1375 - Use nsIAtom* instead of nsAtom* for CE Upgrade function.
We haven't refactored nsIAtom* as Mozilla did yet.
-rw-r--r--dom/base/CustomElementRegistry.cpp2
1 files changed, 1 insertions, 1 deletions
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(),