app_server: Adapt to new HashMap API.
This commit is contained in:
parent
759d502e32
commit
97babea6d7
@ -154,7 +154,7 @@ FontCache::_ConstrainEntryCount()
|
|||||||
iterator = fFontCacheEntries.GetIterator();
|
iterator = fFontCacheEntries.GetIterator();
|
||||||
while (iterator.HasNext()) {
|
while (iterator.HasNext()) {
|
||||||
if (iterator.Next().value == leastUsedEntry) {
|
if (iterator.Next().value == leastUsedEntry) {
|
||||||
iterator.Remove();
|
fFontCacheEntries.Remove(iterator);
|
||||||
leastUsedEntry->ReleaseReference();
|
leastUsedEntry->ReleaseReference();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user