зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset e4ac2148c920 (bug 1352888) to see if it is responsible for input latency regression bug 1362094.
--HG-- extra : rebase_source : bfb451e911058496c2a6498d658cb6ab777da8e6
This commit is contained in:
Родитель
34315c4eee
Коммит
f2c24eea94
|
@ -366,9 +366,11 @@ PLDHashTable::SearchTable(const void* aKey, PLDHashNumber aKeyHash)
|
|||
PLDHashEntryHdr* firstRemoved = nullptr;
|
||||
|
||||
for (;;) {
|
||||
if (Reason == ForAdd && !firstRemoved) {
|
||||
if (Reason == ForAdd) {
|
||||
if (MOZ_UNLIKELY(EntryIsRemoved(entry))) {
|
||||
firstRemoved = entry;
|
||||
if (!firstRemoved) {
|
||||
firstRemoved = entry;
|
||||
}
|
||||
} else {
|
||||
entry->mKeyHash |= kCollisionFlag;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче