aboutsummaryrefslogtreecommitdiff
path: root/src/gpu/batches/GrCopySurfaceBatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrCopySurfaceBatch.cpp')
-rw-r--r--src/gpu/batches/GrCopySurfaceBatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/batches/GrCopySurfaceBatch.cpp b/src/gpu/batches/GrCopySurfaceBatch.cpp
index 2c859f8e46..b4e7ce2fbd 100644
--- a/src/gpu/batches/GrCopySurfaceBatch.cpp
+++ b/src/gpu/batches/GrCopySurfaceBatch.cpp
@@ -75,5 +75,5 @@ GrBatch* GrCopySurfaceBatch::Create(GrSurface* dst, GrSurface* src, const SkIRec
&clippedDstPoint)) {
return NULL;
}
- return SkNEW_ARGS(GrCopySurfaceBatch, (dst, src, clippedSrcRect, clippedDstPoint));
+ return new GrCopySurfaceBatch(dst, src, clippedSrcRect, clippedDstPoint);
}