From de3b7e3af988e60513d9c3bb9e86736232a95f4c Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 21 Aug 2018 19:07:20 +1000 Subject: [PATCH] Bug 1483182 - Do report OOM failures in HashTable::reserve(). r=luke This fixes a typo. --HG-- extra : rebase_source : bc5d5eaa187797aa1167790c2bddd2db2110bf01 --- mfbt/HashTable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mfbt/HashTable.h b/mfbt/HashTable.h index 95aca11efa4f..dd4890dc4e07 100644 --- a/mfbt/HashTable.h +++ b/mfbt/HashTable.h @@ -2055,7 +2055,7 @@ public: return true; // Capacity is already sufficient. } - RebuildStatus status = changeTableSize(bestCapacity, DontReportFailure); + RebuildStatus status = changeTableSize(bestCapacity, ReportFailure); MOZ_ASSERT(status != NotOverloaded); return status != RehashFailed; }