mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 998355. r=jonco
This commit is contained in:
parent
011385155d
commit
010e739595
@ -189,10 +189,10 @@ class WeakMap : public HashMap<Key, Value, HashPolicy, RuntimeAllocPolicy>, publ
|
||||
if (e.front().key() != key)
|
||||
entryMoved(e, key);
|
||||
} else if (keyNeedsMark(key)) {
|
||||
gc::Mark(trc, &e.front().value(), "WeakMap entry value");
|
||||
gc::Mark(trc, &key, "proxy-preserved WeakMap entry key");
|
||||
if (e.front().key() != key)
|
||||
entryMoved(e, key);
|
||||
gc::Mark(trc, &e.front().value(), "WeakMap entry value");
|
||||
markedAny = true;
|
||||
}
|
||||
key.unsafeSet(nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user