Index: include/codec/SkCodec.h |
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h |
index 50875e46c4a42cfbef1d204a0af3bfa01a74b38c..a2bea14d59a823300e4bce071852c7533588d4d0 100644 |
--- a/include/codec/SkCodec.h |
+++ b/include/codec/SkCodec.h |
@@ -23,6 +23,11 @@ class SkData; |
class SkPngChunkReader; |
class SkSampler; |
+namespace DM { |
+class ColorCodecSrc; |
+} |
+ |
+ |
/** |
* Abstraction layer directly on top of an image codec. |
*/ |
@@ -646,6 +651,11 @@ protected: |
virtual int onOutputScanline(int inputScanline) const; |
+ /** |
+ * Used for testing with qcms. |
+ * FIXME: Remove this when we are done comparing with qcms. |
+ */ |
+ virtual sk_sp<SkData> getICCData() const { return nullptr; } |
private: |
const SkEncodedInfo fEncodedInfo; |
const SkImageInfo fSrcInfo; |
@@ -709,6 +719,10 @@ private: |
*/ |
virtual SkSampler* getSampler(bool /*createIfNecessary*/) { return nullptr; } |
+ // For testing with qcms |
+ // FIXME: Remove this when we are done comparing with qcms. |
+ friend class DM::ColorCodecSrc; |
+ |
friend class SkSampledCodec; |
friend class SkIcoCodec; |
}; |