| Index: skia/ext/bitmap_platform_device_win.cc
|
| diff --git a/skia/ext/bitmap_platform_device_win.cc b/skia/ext/bitmap_platform_device_win.cc
|
| index f12f0868a7e44bd03375052ef841a87aa065df35..f526488cba267389fe0852ab1c88cb923fbd2b31 100644
|
| --- a/skia/ext/bitmap_platform_device_win.cc
|
| +++ b/skia/ext/bitmap_platform_device_win.cc
|
| @@ -107,8 +107,9 @@ static bool InstallHBitmapPixels(SkBitmap* bitmap, int width, int height,
|
| const SkAlphaType at = is_opaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType;
|
| const SkImageInfo info = SkImageInfo::MakeN32(width, height, at);
|
| const size_t rowBytes = info.minRowBytes();
|
| - return bitmap->installPixels(info, data, rowBytes, DeleteHBitmapCallback,
|
| - hbitmap);
|
| + SkColorTable* color_table = NULL;
|
| + return bitmap->installPixels(info, data, rowBytes, color_table,
|
| + DeleteHBitmapCallback, hbitmap);
|
| }
|
|
|
| // We use this static factory function instead of the regular constructor so
|
|
|