Bug 1691894 - 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-15 10:04:46 +00:00
parent 1a0fd1ffb7
commit f04f372040
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);
}
}