Index: include/core/SkPixmap.h |
diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h |
index c3c27bec78ac4bece736520749a612e3204b12ab..699ddb4d4495b49ca9dfdd27b729e74d5e5db205 100644 |
--- a/include/core/SkPixmap.h |
+++ b/include/core/SkPixmap.h |
@@ -44,6 +44,9 @@ public: |
this->reset(info, NULL, 0, NULL); |
} |
+ // overrides the colorspace in the SkImageInfo of the pixmap |
+ void setColorSpace(sk_sp<SkColorSpace>); |
+ |
/** |
* If supported, set this pixmap to point to the pixels in the specified mask and return true. |
* On failure, return false and set this pixmap to empty. |