Index: src/core/SkMallocPixelRef.cpp |
diff --git a/src/core/SkMallocPixelRef.cpp b/src/core/SkMallocPixelRef.cpp |
index 50357e469bc34571efd012494f5e1c612be30271..c591ffb37d716b163336002b8523e52739e8cb58 100644 |
--- a/src/core/SkMallocPixelRef.cpp |
+++ b/src/core/SkMallocPixelRef.cpp |
@@ -238,3 +238,11 @@ SkMallocPixelRef::SkMallocPixelRef(SkFlattenableReadBuffer& buffer) |
this->setPreLocked(fStorage, fRB, fCTable); |
} |
+ |
+/////////////////////////////////////////////////////////////////////////////// |
+ |
+SkPixelRef* SkMallocPixelRef::PRFactory::create(const SkImageInfo& info, |
+ SkColorTable* ctable) { |
+ return SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), ctable); |
+} |
+ |