Index: src/core/SkMallocPixelRef.cpp |
diff --git a/src/core/SkMallocPixelRef.cpp b/src/core/SkMallocPixelRef.cpp |
index 12cb05bd729302fd117c86bed3b16954ba5f9187..d51fb7c68b662335cedc89c10efb8bb996067388 100644 |
--- a/src/core/SkMallocPixelRef.cpp |
+++ b/src/core/SkMallocPixelRef.cpp |
@@ -240,7 +240,7 @@ SkMallocPixelRef::SkMallocPixelRef(SkReadBuffer& buffer) |
/////////////////////////////////////////////////////////////////////////////// |
-SkPixelRef* SkMallocPixelRef::PRFactory::create(const SkImageInfo& info, |
+SkPixelRef* SkMallocPixelRef::PRFactory::create(const SkImageInfo& info, size_t rowBytes, |
SkColorTable* ctable) { |
- return SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), ctable); |
+ return SkMallocPixelRef::NewAllocate(info, rowBytes, ctable); |
} |