Index: src/images/SkImageRef_ashmem.cpp |
diff --git a/src/images/SkImageRef_ashmem.cpp b/src/images/SkImageRef_ashmem.cpp |
index 9933ca9b4b2ce3ad31792a9375c55496a21d7290..269199faf849a5427bdb2398e0d45a2fe4521a34 100644 |
--- a/src/images/SkImageRef_ashmem.cpp |
+++ b/src/images/SkImageRef_ashmem.cpp |
@@ -31,11 +31,11 @@ static size_t roundToPageSize(size_t size) { |
return newsize; |
} |
-SkImageRef_ashmem::SkImageRef_ashmem(SkStreamRewindable* stream, |
- SkBitmap::Config config, |
- int sampleSize) |
- : SkImageRef(stream, config, sampleSize) { |
- |
+SkImageRef_ashmem::SkImageRef_ashmem(const SkImageInfo& info, |
+ SkStreamRewindable* stream, |
+ int sampleSize) |
+ : SkImageRef(info, stream, sampleSize) |
+{ |
fRec.fFD = -1; |
fRec.fAddr = NULL; |
fRec.fSize = 0; |