aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec/SkEncodedInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/codec/SkEncodedInfo.h')
-rw-r--r--include/codec/SkEncodedInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/codec/SkEncodedInfo.h b/include/codec/SkEncodedInfo.h
index eb8c147a3b..3b1ce48713 100644
--- a/include/codec/SkEncodedInfo.h
+++ b/include/codec/SkEncodedInfo.h
@@ -130,7 +130,7 @@ public:
case kPalette_Color: {
SkAlphaType alphaType = (kOpaque_Alpha == fAlpha) ? kOpaque_SkAlphaType :
kUnpremul_SkAlphaType;
- return SkImageInfo::Make(width, height, kIndex_8_SkColorType,
+ return SkImageInfo::Make(width, height, kN32_SkColorType,
alphaType, colorSpace);
}
case kRGB_Color: