Bug 1692880 - Make Put accept DataType instead of wrapping UserDataType. r=xpcom-reviewers,necko-reviewers,nika

Differential Revision: https://phabricator.services.mozilla.com/D104850
This commit is contained in:
Simon Giesecke
2021-02-16 15:53:33 +00:00
parent 7434af8b0a
commit 3c36abd9aa
68 changed files with 299 additions and 343 deletions

View File

@@ -2385,7 +2385,7 @@ void HTMLFormElement::AddToPastNamesMap(const nsAString& aName,
// previous entry with the same name, if any.
nsCOMPtr<nsIContent> node = do_QueryInterface(aChild);
if (node) {
mPastNameLookupTable.Put(aName, node);
mPastNameLookupTable.Put(aName, ToSupports(node));
node->SetFlags(MAY_BE_IN_PAST_NAMES_MAP);
}
}