Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index 3190576c680d4936e3e46cf8c5965ad3c7ae0f08..bbf47cffd8f4871dbf05f867861314a154a4878b 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -249,13 +249,14 @@ public: |
class RasterSink : public Sink { |
public: |
- explicit RasterSink(SkColorType); |
+ explicit RasterSink(SkColorType, SkColorProfileType=kLinear_SkColorProfileType); |
Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
const char* fileExtension() const override { return "png"; } |
SinkFlags flags() const override { return SinkFlags{ SinkFlags::kRaster, SinkFlags::kDirect }; } |
private: |
- SkColorType fColorType; |
+ SkColorType fColorType; |
+ SkColorProfileType fProfileType; |
}; |
class SKPSink : public Sink { |