| Index: components/suggestions/image_encoder.cc
|
| diff --git a/components/suggestions/image_encoder.cc b/components/suggestions/image_encoder.cc
|
| index 8b0fa09fc260d64b8df3bc12cf5499dd017f604e..2cdf79cb1a3323c0e18ffc30952c69d6e927e046 100644
|
| --- a/components/suggestions/image_encoder.cc
|
| +++ b/components/suggestions/image_encoder.cc
|
| @@ -22,8 +22,8 @@ bool EncodeSkBitmapToJPEG(const SkBitmap& bitmap,
|
| }
|
| return gfx::JPEGCodec::Encode(
|
| reinterpret_cast<unsigned char*>(bitmap.getAddr32(0, 0)),
|
| - gfx::JPEGCodec::FORMAT_SkBitmap, bitmap.width(), bitmap.height(),
|
| - bitmap.rowBytes(), 100, dest);
|
| + kN32_SkColorType, bitmap.width(), bitmap.height(), bitmap.rowBytes(), 100,
|
| + dest);
|
| }
|
|
|
| } // namespace suggestions
|
|
|