Index: src/image/SkImagePriv.h |
diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h |
index 0626d6a3ce72348934e52cab3f5e1d620a0a9f33..bc4a7b04add3d72d63b6ca5829b1f884e1ea2576 100644 |
--- a/src/image/SkImagePriv.h |
+++ b/src/image/SkImagePriv.h |
@@ -35,16 +35,12 @@ extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*, |
* SkImageInfo, or the bitmap's pixels cannot be accessed, this will return |
* NULL. |
*/ |
-enum SharedPixelRefMode { |
- kLocked_SharedPixelRefMode, |
- kUnlocked_SharedPixelRefMode |
-}; |
enum ForceCopyMode { |
kNo_ForceCopyMode, |
kYes_ForceCopyMode, // must copy the pixels even if the bitmap is immutable |
}; |
extern SkImage* SkNewImageFromRasterBitmap(const SkBitmap&, const SkSurfaceProps*, |
- SharedPixelRefMode, ForceCopyMode = kNo_ForceCopyMode); |
+ ForceCopyMode = kNo_ForceCopyMode); |
static inline size_t SkImageMinRowBytes(const SkImageInfo& info) { |
size_t minRB = info.minRowBytes(); |