Bug 1134280 - Get rid of Tag() - patch 7 - Followup to fix bustage. CLOSED TREE

This commit is contained in:
Andrea Marchesini 2015-03-03 11:50:16 +00:00
parent e40e217a75
commit 0c7f3a0a3a

View File

@ -6357,7 +6357,7 @@ nsDocument::RegisterElement(JSContext* aCx, const nsAString& aType,
continue;
}
MOZ_ASSERT(elem->IsHTML(nameAtom));
MOZ_ASSERT(elem->IsHTMLElement(nameAtom));
nsWrapperCache* cache;
CallQueryInterface(elem, &cache);
MOZ_ASSERT(cache, "Element doesn't support wrapper cache?");