Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1482)

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp

Issue 2759703002: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: rebase, fix one platform-specific reference Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));

Powered by Google App Engine
This is Rietveld 408576698