From f6db495d2d3d1d535c51048a06091706e74f48f4 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Mon, 16 Jul 2018 13:06:02 -0400 Subject: Remove SkTransferFunctionBehavior Bug: skia: Change-Id: Iccbe609b2a8d4c9098ef36aa6530dbc3771e0c11 Reviewed-on: https://skia-review.googlesource.com/141055 Reviewed-by: Leon Scroggins Commit-Queue: Brian Osman --- include/codec/SkCodec.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/codec') diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h index c156efb052..36f557e603 100644 --- a/include/codec/SkCodec.h +++ b/include/codec/SkCodec.h @@ -252,7 +252,6 @@ public: , fSubset(nullptr) , fFrameIndex(0) , fPriorFrame(kNone) - , fPremulBehavior(SkTransferFunctionBehavior::kIgnore) {} ZeroInitialized fZeroInitialized; @@ -296,14 +295,6 @@ public: * If set to kNone, the codec will decode any necessary required frame(s) first. */ int fPriorFrame; - - /** - * Indicates whether we should do a linear premultiply or a legacy premultiply. - * - * In the case where the dst SkColorSpace is nullptr, this flag is ignored and - * we will always do a legacy premultiply. - */ - SkTransferFunctionBehavior fPremulBehavior; }; /** -- cgit v1.2.3