Index: src/image/SkImagePriv.cpp |
diff --git a/src/image/SkImagePriv.cpp b/src/image/SkImagePriv.cpp |
index 43cc44b2fa25aa5762611e3bfcf39e467f2e29f8..af15a7599b4e7eae788047e5b83f60efa2249b09 100644 |
--- a/src/image/SkImagePriv.cpp |
+++ b/src/image/SkImagePriv.cpp |
@@ -74,7 +74,7 @@ SkImage* SkNewImageFromBitmap(const SkBitmap& bm, bool canSharePixelRef) { |
SkImage* image = NULL; |
if (canSharePixelRef || bm.isImmutable()) { |
- image = SkNewImageFromPixelRef(info, bm.pixelRef(), bm.rowBytes()); |
+ image = SkNewImageFromPixelRef(bm.pixelRef()); |
} else { |
bm.lockPixels(); |
if (bm.getPixels()) { |