Index: src/core/SkColorSpaceXform.h |
diff --git a/src/core/SkColorSpaceXform.h b/src/core/SkColorSpaceXform.h |
index 91dbf54295e63e28171ba092051beaf1b897fadf..8f1c24cac123d565c8a168e353722977ca9c799f 100644 |
--- a/src/core/SkColorSpaceXform.h |
+++ b/src/core/SkColorSpaceXform.h |
@@ -36,7 +36,13 @@ public: |
virtual ~SkColorSpaceXform() {} |
}; |
-template <SkColorSpace::GammaNamed kDst> |
+enum ColorSpaceMatch { |
+ kNone_ColorSpaceMatch, |
+ kGamut_ColorSpaceMatch, |
+ kFull_ColorSpaceMatch, |
+}; |
+ |
+template <SkColorSpace::GammaNamed kDst, ColorSpaceMatch kCSM> |
class SkColorSpaceXform_Base : public SkColorSpaceXform { |
public: |