aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
Diffstat (limited to 'gm')
-rw-r--r--gm/texdata.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index e36feef0cb..1f888267ad 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -113,8 +113,7 @@ protected:
SkMatrix tm;
tm = vm;
tm.postIDiv(2*S, 2*S);
- paint.colorStage(0)->setEffect(SkNEW_ARGS(GrSingleTextureEffect,
- (texture, tm)))->unref();
+ paint.colorStage(0)->setEffect(GrSingleTextureEffect::Create(texture, tm))->unref();
ctx->drawRect(paint, GrRect::MakeWH(2*S, 2*S));