Index: third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp b/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp |
index 126b32025f505b512b21013a4e28149df4bae9b2..f6226ad5280459df0d97419962401c65ca71ae2a 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp |
@@ -249,7 +249,7 @@ void ImageDecodingStore::removeFromCacheInternal( |
ASSERT(iter != identifierMap->end()); |
iter->value.erase(cacheEntry->cacheKey()); |
if (!iter->value.size()) |
- identifierMap->remove(iter); |
+ identifierMap->erase(iter); |
// Remove entry from cache map. |
deletionList->push_back(cacheMap->take(cacheEntry->cacheKey())); |