Index: src/image/SkImagePriv.h |
diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h |
index 031832bd0d4edd3dbbdd55fe023b4f97c651c8ec..9f9cd12f6990917ad58a15ffd55876eb9eafd9ae 100644 |
--- a/src/image/SkImagePriv.h |
+++ b/src/image/SkImagePriv.h |
@@ -11,6 +11,8 @@ |
#include "SkBitmap.h" |
#include "SkImage.h" |
+extern SkBitmap::Config SkImageInfoToBitmapConfig(const SkImageInfo&); |
+ |
// Call this if you explicitly want to use/share this pixelRef in the image |
extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*, |
size_t rowBytes); |
@@ -21,7 +23,7 @@ |
* be shared if either the bitmap is marked as immutable, or canSharePixelRef |
* is true. |
* |
- * If the bitmap's colortype cannot be converted into a corresponding |
+ * If the bitmap's config cannot be converted into a corresponding |
* SkImageInfo, or the bitmap's pixels cannot be accessed, this will return |
* NULL. |
*/ |