aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkPngCodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec/SkPngCodec.h')
-rw-r--r--src/codec/SkPngCodec.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/codec/SkPngCodec.h b/src/codec/SkPngCodec.h
index e3059ba0d5..1fc451757e 100644
--- a/src/codec/SkPngCodec.h
+++ b/src/codec/SkPngCodec.h
@@ -64,7 +64,7 @@ protected:
SkSwizzler* swizzler() { return fSwizzler; }
// Initialize variables used by applyXformRow.
- void initializeXformAlphaAndWidth();
+ void initializeXformParams();
/**
* Pass available input to libpng to process it.
@@ -128,9 +128,10 @@ private:
virtual void setRange(int firstRow, int lastRow, void* dst, size_t rowBytes) = 0;
virtual Result decode(int* rowsDecoded) = 0;
- XformMode fXformMode;
- SkAlphaType fXformAlphaType;
- int fXformWidth;
+ XformMode fXformMode;
+ SkColorSpaceXform::ColorFormat fXformColorFormat;
+ SkAlphaType fXformAlphaType;
+ int fXformWidth;
#ifdef SK_GOOGLE3_PNG_HACK
bool fNeedsToRereadHeader;