Index: src/gpu/GrImageIDTextureAdjuster.h |
diff --git a/src/gpu/GrImageIDTextureAdjuster.h b/src/gpu/GrImageIDTextureAdjuster.h |
index d516fc592c212a7f21786f080181c25ea7110825..c32bdb18a09d8b778c0dd85d63349e933397e551 100644 |
--- a/src/gpu/GrImageIDTextureAdjuster.h |
+++ b/src/gpu/GrImageIDTextureAdjuster.h |
@@ -21,6 +21,9 @@ class GrBitmapTextureAdjuster : public GrTextureAdjuster { |
public: |
explicit GrBitmapTextureAdjuster(const SkBitmap* bmp); |
+protected: |
+ SkColorSpace* getColorSpace() override; |
+ |
private: |
void makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey) override; |
@@ -37,6 +40,9 @@ class GrImageTextureAdjuster : public GrTextureAdjuster { |
public: |
explicit GrImageTextureAdjuster(const SkImage_Base* img); |
+protected: |
+ SkColorSpace* getColorSpace() override; |
+ |
private: |
void makeCopyKey(const CopyParams& params, GrUniqueKey* copyKey) override; |
@@ -61,6 +67,8 @@ protected: |
void didCacheCopy(const GrUniqueKey& copyKey) override; |
+ SkColorSpace* getColorSpace() override; |
+ |
private: |
const SkBitmap fBitmap; |
GrUniqueKey fOriginalKey; |
@@ -84,6 +92,8 @@ protected: |
void makeCopyKey(const CopyParams& stretch, GrUniqueKey* paramsCopyKey) override; |
void didCacheCopy(const GrUniqueKey& copyKey) override; |
+ SkColorSpace* getColorSpace() override; |
+ |
private: |
SkImageCacherator* fCacher; |
const SkImage* fClient; |