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

Unified Diff: src/codec/SkPngCodec.h

Issue 1907593004: Support the non-native (RGBA/BGRA) swizzle (Closed) Base URL: https://skia.googlesource.com/skia.git@tryagain
Patch Set: Rebase Created 4 years, 8 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 934513a67673444b42110d6fdac1aa57edd73dc6..b00a1b72c76c1060e2be897af71fbbd0e3bb5333 100644
--- a/src/codec/SkPngCodec.h
+++ b/src/codec/SkPngCodec.h
@@ -60,7 +60,7 @@ private:
const int fNumberPasses;
int fBitDepth;
- bool decodePalette(bool premultiply, int* ctableCount);
+ bool decodePalette(bool premultiply, SkColorType dstColorType, int* ctableCount);
void destroyReadStruct();
typedef SkCodec INHERITED;

Powered by Google App Engine
This is Rietveld 408576698