diff options
Diffstat (limited to 'src/images/SkImageDecoder_libpng.cpp')
-rw-r--r-- | src/images/SkImageDecoder_libpng.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/images/SkImageDecoder_libpng.cpp b/src/images/SkImageDecoder_libpng.cpp index 02d8135f1f..fedb8df19f 100644 --- a/src/images/SkImageDecoder_libpng.cpp +++ b/src/images/SkImageDecoder_libpng.cpp @@ -600,8 +600,8 @@ static int computeBitDepth(int colorCount) { have alpha in the colortable, since png doesn't support premul colors */ static inline int pack_palette(SkColorTable* ctable, - png_color* SK_RESTRICT palette, - png_byte* SK_RESTRICT trans, bool hasAlpha) { + png_color* SK_RESTRICT palette, + png_byte* SK_RESTRICT trans, bool hasAlpha) { SkAutoLockColors alc(ctable); const SkPMColor* SK_RESTRICT colors = alc.colors(); const int ctCount = ctable->count(); |