aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec/SkCodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/codec/SkCodec.h')
-rw-r--r--include/codec/SkCodec.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index ae7286d576..c156efb052 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -252,7 +252,7 @@ public:
, fSubset(nullptr)
, fFrameIndex(0)
, fPriorFrame(kNone)
- , fPremulBehavior(SkTransferFunctionBehavior::kRespect)
+ , fPremulBehavior(SkTransferFunctionBehavior::kIgnore)
{}
ZeroInitialized fZeroInitialized;
@@ -803,8 +803,7 @@ protected:
virtual int onOutputScanline(int inputScanline) const;
- bool initializeColorXform(const SkImageInfo& dstInfo, SkEncodedInfo::Alpha,
- SkTransferFunctionBehavior premulBehavior);
+ bool initializeColorXform(const SkImageInfo& dstInfo, SkEncodedInfo::Alpha);
// Some classes never need a colorXform e.g.
// - ICO uses its embedded codec's colorXform
// - WBMP is just Black/White