Index: src/image/SkImage_Raster.cpp |
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp |
index 819c08f0514d39cef69492b4e7b7d1f5cfa13e63..9863c337e0e5ef3cbbd53d40d2395ea477c39160 100644 |
--- a/src/image/SkImage_Raster.cpp |
+++ b/src/image/SkImage_Raster.cpp |
@@ -87,7 +87,7 @@ SkImage_Raster::SkImage_Raster(const Info& info, SkData* data, size_t rowBytes) |
fBitmap.setConfig(info, rowBytes); |
SkAutoTUnref<SkPixelRef> ref( |
SkMallocPixelRef::NewWithData(info, rowBytes, NULL, data, 0)); |
- fBitmap.setPixelRef(ref, 0); |
+ fBitmap.setPixelRef(ref); |
fBitmap.setImmutable(); |
} |