Index: src/images/SkImageRef_GlobalPool.cpp |
=================================================================== |
--- src/images/SkImageRef_GlobalPool.cpp (revision 12666) |
+++ src/images/SkImageRef_GlobalPool.cpp (working copy) |
@@ -24,10 +24,10 @@ |
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); |