mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1092333 - nsDOMStringMap::NamedDeleter doesn't always write its out-parameter. r=bzbarsky.
--HG-- extra : rebase_source : b50c026efb7d790c512135ade1bf4d1b011420cf
This commit is contained in:
parent
5f8c30e0e4
commit
1463f849cd
@ -126,11 +126,13 @@ nsDOMStringMap::NamedDeleter(const nsAString& aProp, bool& found)
|
||||
{
|
||||
// Currently removing property, attribute is already removed.
|
||||
if (mRemovingProp) {
|
||||
found = false;
|
||||
return;
|
||||
}
|
||||
|
||||
nsAutoString attr;
|
||||
if (!DataPropToAttr(aProp, attr)) {
|
||||
found = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user