Index: gm/composeshader.cpp |
diff --git a/gm/composeshader.cpp b/gm/composeshader.cpp |
index 8933cf39653d956d684ee4256cc0ff3623f60721..9d2103beb4a7b11a7c59c0b9550ce0ac1d22c400 100644 |
--- a/gm/composeshader.cpp |
+++ b/gm/composeshader.cpp |
@@ -35,7 +35,7 @@ static SkShader* make_shader(SkXfermode::Mode mode) { |
SkAutoTUnref<SkXfermode> xfer(SkXfermode::Create(mode)); |
- return SkNEW_ARGS(SkComposeShader, (shaderA, shaderB, xfer)); |
+ return new SkComposeShader(shaderA, shaderB, xfer); |
} |
class ComposeShaderGM : public skiagm::GM { |