| 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 a6e589d4f3328ed6f8153b9c765aba9168a9eb4c..9b325db99fc9da005c464cef12cf40b4a9a0feca 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
|
| @@ -223,9 +223,9 @@ 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());
|
| + identifierMap->insert(cacheEntry->generator(), typename V::MappedType());
|
| result.storedValue->value.insert(key);
|
| - cacheMap->add(key, std::move(cacheEntry));
|
| + cacheMap->insert(key, std::move(cacheEntry));
|
|
|
| TRACE_COUNTER1(TRACE_DISABLED_BY_DEFAULT("blink.image_decoding"),
|
| "ImageDecodingStoreHeapMemoryUsageBytes",
|
|
|