Index: gm/all_bitmap_configs.cpp |
diff --git a/gm/all_bitmap_configs.cpp b/gm/all_bitmap_configs.cpp |
index 7ff86754623a36f81605a0c951187965b032a58d..2fbd71de249f1b4ce2318dd7f29ea3a9db644f83 100644 |
--- a/gm/all_bitmap_configs.cpp |
+++ b/gm/all_bitmap_configs.cpp |
@@ -124,8 +124,7 @@ static SkBitmap indexed_bitmap() { |
pmColors[i] = premultiply_color(colors[i]); |
} |
SkBitmap bm; |
- SkAutoTUnref<SkColorTable> ctable( |
- SkNEW_ARGS(SkColorTable, (pmColors, SK_ARRAY_COUNT(pmColors)))); |
+ SkAutoTUnref<SkColorTable> ctable(new SkColorTable(pmColors, SK_ARRAY_COUNT(pmColors))); |
SkImageInfo info = SkImageInfo::Make(SCALE, SCALE, kIndex_8_SkColorType, |
kPremul_SkAlphaType); |
bm.allocPixels(info, NULL, ctable); |