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

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

Issue 2654033007: Migrate WTF::HashSet::add() to ::insert() [part 2 of N] (Closed)
Patch Set: Created 3 years, 11 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 61aa4354ed98265a1603ca24719019a18de3d0d9..a6e589d4f3328ed6f8153b9c765aba9168a9eb4c 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
@@ -224,7 +224,7 @@ void ImageDecodingStore::insertCacheInternal(std::unique_ptr<T> cacheEntry,
typename U::KeyType key = cacheEntry->cacheKey();
typename V::AddResult result =
identifierMap->add(cacheEntry->generator(), typename V::MappedType());
- result.storedValue->value.add(key);
+ result.storedValue->value.insert(key);
cacheMap->add(key, std::move(cacheEntry));
TRACE_COUNTER1(TRACE_DISABLED_BY_DEFAULT("blink.image_decoding"),
« no previous file with comments | « third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py ('k') | third_party/WebKit/Source/wtf/DequeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698