Index: src/images/SkImageRef_GlobalPool.cpp |
diff --git a/src/images/SkImageRef_GlobalPool.cpp b/src/images/SkImageRef_GlobalPool.cpp |
index 352dd42d9f79a3c94dabafff20edbeeb7fdb8b99..f91cebabbf8e7e0c26f06533e35122bc12b62039 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(SkStreamRewindable* stream, |
- SkBitmap::Config config, |
+SkImageRef_GlobalPool::SkImageRef_GlobalPool(const SkImageInfo& info, |
+ SkStreamRewindable* stream, |
int sampleSize) |
- : SkImageRef(stream, config, sampleSize, &gGlobalPoolMutex) { |
+ : SkImageRef(info, stream, sampleSize, &gGlobalPoolMutex) { |
SkASSERT(&gGlobalPoolMutex == this->mutex()); |
SkAutoMutexAcquire ac(gGlobalPoolMutex); |
GetGlobalPool()->addToHead(this); |