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