Index: src/image/SkImagePriv.h |
diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h |
index 4b92e946e3487f8c2bbe133eef19fdd73369f4ab..b8f177905dc234262812af3ba2a5117348a05978 100644 |
--- a/src/image/SkImagePriv.h |
+++ b/src/image/SkImagePriv.h |
@@ -14,8 +14,7 @@ |
// Call this if you explicitly want to use/share this pixelRef in the image |
extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*, |
const SkIPoint& pixelRefOrigin, |
- size_t rowBytes, |
- const SkSurfaceProps*); |
+ size_t rowBytes); |
/** |
* Examines the bitmap to decide if it can share the existing pixelRef, or |
@@ -39,8 +38,7 @@ enum ForceCopyMode { |
kNo_ForceCopyMode, |
kYes_ForceCopyMode, // must copy the pixels even if the bitmap is immutable |
}; |
-extern SkImage* SkNewImageFromRasterBitmap(const SkBitmap&, const SkSurfaceProps*, |
- ForceCopyMode = kNo_ForceCopyMode); |
+extern SkImage* SkNewImageFromRasterBitmap(const SkBitmap&, ForceCopyMode = kNo_ForceCopyMode); |
static inline size_t SkImageMinRowBytes(const SkImageInfo& info) { |
size_t minRB = info.minRowBytes(); |