Index: src/core/SkSpecialImage.h |
diff --git a/src/core/SkSpecialImage.h b/src/core/SkSpecialImage.h |
index 9afd64fa4539a9a578350a9f1a749b335e79f1f6..3c298828017aab916feb3fd2d1bb01fb95d79fcc 100644 |
--- a/src/core/SkSpecialImage.h |
+++ b/src/core/SkSpecialImage.h |
@@ -50,6 +50,7 @@ public: |
int width() const { return fSubset.width(); } |
int height() const { return fSubset.height(); } |
const SkIRect& subset() const { return fSubset; } |
+ SkColorSpace* getColorSpace() const; |
uint32_t uniqueID() const { return fUniqueID; } |
virtual bool isOpaque() const { return false; } |
@@ -77,6 +78,7 @@ public: |
static sk_sp<SkSpecialImage> MakeFromGpu(const SkIRect& subset, |
uint32_t uniqueID, |
sk_sp<GrTexture>, |
+ sk_sp<SkColorSpace>, |
const SkSurfaceProps* = nullptr, |
SkAlphaType at = kPremul_SkAlphaType); |
#endif |