Index: include/core/SkImage.h |
diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
index 28b1803629318cacec31a3aa92a5c3dd2bd1d23e..7557e8e41dd9ffcad9f6e62a633ccb76b8472e70 100644 |
--- a/include/core/SkImage.h |
+++ b/include/core/SkImage.h |
@@ -17,6 +17,7 @@ |
class SkData; |
class SkCanvas; |
+class SkColorTable; |
class SkImageGenerator; |
class SkPaint; |
class SkString; |
@@ -44,7 +45,8 @@ public: |
typedef SkImageInfo Info; |
typedef void* ReleaseContext; |
- static SkImage* NewRasterCopy(const Info&, const void* pixels, size_t rowBytes); |
+ static SkImage* NewRasterCopy(const Info&, const void* pixels, size_t rowBytes, |
+ SkColorTable* ctable = NULL); |
static SkImage* NewRasterData(const Info&, SkData* pixels, size_t rowBytes); |
typedef void (*RasterReleaseProc)(const void* pixels, ReleaseContext); |