Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: src/codec/SkPngCodec.h

Issue 2246143002: Support color xforms for kIndex8 pngs (Closed) Base URL: https://skia.googlesource.com/skia.git@xformpremul
Patch Set: Force legacy mode as default Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/codec/SkPngCodec.h
diff --git a/src/codec/SkPngCodec.h b/src/codec/SkPngCodec.h
index b74f3ed5f58e33090556156e49ff9e4d6893fe21..f29d9b2cf113048a472f9e32e7ea9a585d5a2bb1 100644
--- a/src/codec/SkPngCodec.h
+++ b/src/codec/SkPngCodec.h
@@ -66,7 +66,7 @@ protected:
int fBitDepth;
private:
- bool createColorTable(SkColorType dstColorType, bool premultiply, int* ctableCount);
+ bool createColorTable(const SkImageInfo& dstInfo, int* ctableCount);
void destroyReadStruct();
typedef SkCodec INHERITED;
« no previous file with comments | « src/codec/SkCodecPriv.h ('k') | src/codec/SkPngCodec.cpp » ('j') | src/codec/SkPngCodec.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698