| Index: src/image/SkImagePriv.h
|
| diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h
|
| index e9d1d838991adfa08b1e565d614bec932645ce89..e00a97ebcc2b0c52dba10810eb11681ee8914cfd 100644
|
| --- a/src/image/SkImagePriv.h
|
| +++ b/src/image/SkImagePriv.h
|
| @@ -11,8 +11,8 @@
|
| #include "SkImage.h"
|
|
|
| // Call this if you explicitly want to use/share this pixelRef in the image
|
| -extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*,
|
| - size_t rowBytes);
|
| +extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*, size_t rowBytes,
|
| + const SkSurfaceProps*);
|
|
|
| /**
|
| * Examines the bitmap to decide if it can share the existing pixelRef, or
|
| @@ -24,7 +24,7 @@ extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*,
|
| * SkImageInfo, or the bitmap's pixels cannot be accessed, this will return
|
| * NULL.
|
| */
|
| -extern SkImage* SkNewImageFromBitmap(const SkBitmap&, bool canSharePixelRef);
|
| +extern SkImage* SkNewImageFromBitmap(const SkBitmap&, bool canSharePixelRef, const SkSurfaceProps*);
|
|
|
| static inline size_t SkImageMinRowBytes(const SkImageInfo& info) {
|
| return SkAlign4(info.minRowBytes());
|
|
|