Index: gm/modecolorfilters.cpp |
diff --git a/gm/modecolorfilters.cpp b/gm/modecolorfilters.cpp |
index f9a3a1042b94f84635279452c32305932e857b2e..9f70bf8674a47b60d59aa9e5a53ac891c98d0462 100644 |
--- a/gm/modecolorfilters.cpp |
+++ b/gm/modecolorfilters.cpp |
@@ -49,8 +49,7 @@ static SkShader* make_bg_shader(int checkSize) { |
SkIntToScalar(checkSize), SkIntToScalar(checkSize)); |
canvas.drawRect(rect1, paint); |
canvas.drawRect(rect0, paint); |
- return SkNEW_ARGS(SkBitmapProcShader, (bmp, SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode)); |
+ return new SkBitmapProcShader(bmp, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode); |
} |
class ModeColorFilterGM : public GM { |