Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index c0e299ab94ba8bc3c3caeefb3796b4d24e12de5a..7bd21126dcbdf4fc5e4c90bfa140d54eb3c0503c 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -219,6 +219,8 @@ public: |
static Sk64 ComputeSize64(Config, int width, int height); |
static size_t ComputeSize(Config, int width, int height); |
+ static Sk64 ComputeSize64(const SkImageInfo& info); |
+ static size_t ComputeSize(const SkImageInfo& info); |
/** |
* This will brute-force return true if all of the pixels in the bitmap |