Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index eda13b3c52390f11067583decd82d389a709e77a..cf1c4c77f208f718a54dbe1a3c677810a3eb70e2 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -295,6 +295,14 @@ public: |
} |
/** |
+ * Call installPixels with no ReleaseProc specified. This means |
+ * that the caller must ensure that the specified pixels and |
+ * colortable are valid for the lifetime of the created bitmap |
+ * (and its pixelRef). |
+ */ |
+ bool installPixels(const SkPixmap&); |
+ |
+ /** |
* Calls installPixels() with the value in the SkMask. The caller must |
* ensure that the specified mask pixels are valid for the lifetime |
* of the created bitmap (and its pixelRef). |