Index: src/images/SkImageRef_GlobalPool.cpp |
diff --git a/src/images/SkImageRef_GlobalPool.cpp b/src/images/SkImageRef_GlobalPool.cpp |
index f91cebabbf8e7e0c26f06533e35122bc12b62039..352dd42d9f79a3c94dabafff20edbeeb7fdb8b99 100644 |
--- a/src/images/SkImageRef_GlobalPool.cpp |
+++ b/src/images/SkImageRef_GlobalPool.cpp |
@@ -24,10 +24,10 @@ static SkImageRefPool* GetGlobalPool() { |
return gPool; |
} |
-SkImageRef_GlobalPool::SkImageRef_GlobalPool(const SkImageInfo& info, |
- SkStreamRewindable* stream, |
+SkImageRef_GlobalPool::SkImageRef_GlobalPool(SkStreamRewindable* stream, |
+ SkBitmap::Config config, |
int sampleSize) |
- : SkImageRef(info, stream, sampleSize, &gGlobalPoolMutex) { |
+ : SkImageRef(stream, config, sampleSize, &gGlobalPoolMutex) { |
SkASSERT(&gGlobalPoolMutex == this->mutex()); |
SkAutoMutexAcquire ac(gGlobalPoolMutex); |
GetGlobalPool()->addToHead(this); |