Index: src/image/SkImagePriv.h |
diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h |
index b8f177905dc234262812af3ba2a5117348a05978..7518bbe8088368ff4f3adaff8c40918b389bd7a3 100644 |
--- a/src/image/SkImagePriv.h |
+++ b/src/image/SkImagePriv.h |
@@ -40,14 +40,6 @@ enum ForceCopyMode { |
}; |
extern SkImage* SkNewImageFromRasterBitmap(const SkBitmap&, ForceCopyMode = kNo_ForceCopyMode); |
-static inline size_t SkImageMinRowBytes(const SkImageInfo& info) { |
- size_t minRB = info.minRowBytes(); |
- if (kIndex_8_SkColorType != info.colorType()) { |
- minRB = SkAlign4(minRB); |
- } |
- return minRB; |
-} |
- |
// Given an image created from SkNewImageFromBitmap, return its pixelref. This |
// may be called to see if the surface and the image share the same pixelref, |
// in which case the surface may need to perform a copy-on-write. |