aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkImagePriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image/SkImagePriv.h')
-rw-r--r--src/image/SkImagePriv.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h
index 4b92e946e3..b8f177905d 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();