Index: src/images/SkImageRef.cpp |
diff --git a/src/images/SkImageRef.cpp b/src/images/SkImageRef.cpp |
index 458aa2aa5abeec269ff95bd77240455038ab00d8..2cb8ec82ba0d1200f7940fd0e7c62edcb2852083 100644 |
--- a/src/images/SkImageRef.cpp |
+++ b/src/images/SkImageRef.cpp |
@@ -32,7 +32,7 @@ SkImageRef::SkImageRef(const SkImageInfo& info, SkStreamRewindable* stream, |
// This sets the colortype/alphatype to exactly match our info, so that this |
// can get communicated down to the codec. |
- fBitmap.setConfig(info); |
+ fBitmap.setInfo(info); |
#ifdef DUMP_IMAGEREF_LIFECYCLE |
SkDebugf("add ImageRef %p [%d] data=%d\n", |
@@ -190,7 +190,7 @@ SkImageRef::SkImageRef(SkReadBuffer& buffer, SkBaseMutex* mutex) |
// This sets the colortype/alphatype to exactly match our info, so that this |
// can get communicated down to the codec. |
- fBitmap.setConfig(this->info()); |
+ fBitmap.setInfo(this->info()); |
} |
void SkImageRef::flatten(SkWriteBuffer& buffer) const { |