mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1234542 - Don't use fallible Add in SetStringProperty. r=froydnj
--HG-- extra : rebase_source : 697c493e0150953f6a8fb152109ef228673f15a0
This commit is contained in:
parent
c6013bd937
commit
a2071162e7
@ -524,7 +524,7 @@ nsPersistentProperties::SetStringProperty(const nsACString& aKey,
|
||||
{
|
||||
const nsAFlatCString& flatKey = PromiseFlatCString(aKey);
|
||||
auto entry = static_cast<PropertyTableEntry*>
|
||||
(mTable.Add(flatKey.get(), mozilla::fallible));
|
||||
(mTable.Add(flatKey.get()));
|
||||
|
||||
if (entry->mKey) {
|
||||
aOldValue = entry->mValue;
|
||||
|
Loading…
Reference in New Issue
Block a user