app_server: Adapt to new HashMap API.

This commit is contained in:
Augustin Cavalier 2019-02-14 20:43:23 -05:00
parent 759d502e32
commit 97babea6d7

View File

@ -154,7 +154,7 @@ FontCache::_ConstrainEntryCount()
iterator = fFontCacheEntries.GetIterator();
while (iterator.HasNext()) {
if (iterator.Next().value == leastUsedEntry) {
iterator.Remove();
fFontCacheEntries.Remove(iterator);
leastUsedEntry->ReleaseReference();
break;
}