Index: src/image/SkImagePriv.h |
diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h |
index a625472eaa03ea3dfabf8ba1606313fc55db6ba6..9cdcbb6f937681ff7aa178983e9722901f9d6de6 100644 |
--- a/src/image/SkImagePriv.h |
+++ b/src/image/SkImagePriv.h |
@@ -36,7 +36,8 @@ extern sk_sp<SkImage> SkMakeImageFromPixelRef(const SkImageInfo&, SkPixelRef*, |
*/ |
enum ForceCopyMode { |
kNo_ForceCopyMode, |
- kYes_ForceCopyMode, // must copy the pixels even if the bitmap is immutable |
+ kYes_ForceCopyMode, // must copy the pixels even if the bitmap is immutable |
+ kNever_ForceCopyMode, // don't ever copy, even if the bitmap is mutable |
}; |
extern sk_sp<SkImage> SkMakeImageFromRasterBitmap(const SkBitmap&, |
ForceCopyMode = kNo_ForceCopyMode); |