Merge "jpeg_bench: Fix checkbuild"

This commit is contained in:
Ji-Hwan Lee
2014-06-13 11:39:12 +00:00
committed by Android (Google) Code Review

View File

@@ -104,7 +104,9 @@ bool OmxJpegImageDecoder::onDecode(SkStream* stream,
int height;
meta->findInt32(kKeyWidth, &width);
meta->findInt32(kKeyHeight, &height);
configBitmapSize(bm, getPrefConfig(k32Bit_SrcDepth, false), width, height);
configBitmapSize(
bm, SkColorTypeToBitmapConfig(getPrefColorType(k32Bit_SrcDepth, false)),
width, height);
// mode == DecodeBounds
if (mode == SkImageDecoder::kDecodeBounds_Mode) {