Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index 59b6482735cc2be98187914e36a575b17c05ff4c..64f2e241337a5d8d9a75b34196963141215b4208 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -17,6 +17,7 @@ |
#include "SkPoint.h" |
#include "SkRefCnt.h" |
+struct SkImageInfo; |
struct SkIRect; |
struct SkRect; |
class SkPaint; |
@@ -259,6 +260,7 @@ public: |
kPremul_SkAlphaType); |
} |
+ bool setConfig(const SkImageInfo& info, size_t rowBytes = 0); |
/** Use this to assign a new pixel address for an existing bitmap. This |
will automatically release any pixelref previously installed. Only call |