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..322887bead187ac3993767e413b646f59c7da15e 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); |
+ SkColorType* color_table = NULL; |
+ return bitmap->installPixels(info, data, rowBytes, color_table, |
f(malita)
2014/06/03 17:57:59
Pass NULL directly?
|
+ DeleteHBitmapCallback, hbitmap); |
} |
// We use this static factory function instead of the regular constructor so |