mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1477540 - Use RemoveLastElement instead of PopLastElement r=bhackett
The later is only interesting when the returned value is used MozReview-Commit-ID: 8CF5HSkcttf --HG-- extra : rebase_source : deb1761dd017108c9dba1d831a996baf54c7f425
This commit is contained in:
parent
b2d36bc68a
commit
c86ee15013
@ -58,7 +58,7 @@ RemoteSpellcheckEngineChild::RecvNotifyOfCurrentDictionary(
|
||||
}
|
||||
mResponsePromises[aId] = nullptr;
|
||||
while (mResponsePromises.Length() && !mResponsePromises.LastElement()) {
|
||||
(void) mResponsePromises.PopLastElement();
|
||||
mResponsePromises.RemoveLastElement();
|
||||
}
|
||||
return IPC_OK();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user