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 259f2b601f85edaa51ea49dcd68f295136a357fa..bd1a528df76181a4f222806acd1ff24b657cd27c 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp |
@@ -59,12 +59,13 @@ ImageDecodingStore& ImageDecodingStore::Instance() { |
bool ImageDecodingStore::LockDecoder(const ImageFrameGenerator* generator, |
const SkISize& scaled_size, |
+ ImageDecoder::AlphaOption alpha_option, |
ImageDecoder** decoder) { |
DCHECK(decoder); |
MutexLocker lock(mutex_); |
DecoderCacheMap::iterator iter = decoder_cache_map_.Find( |
- DecoderCacheEntry::MakeCacheKey(generator, scaled_size)); |
+ DecoderCacheEntry::MakeCacheKey(generator, scaled_size, alpha_option)); |
if (iter == decoder_cache_map_.end()) |
return false; |