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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user