Index: src/gpu/GrRecordReplaceDraw.cpp |
diff --git a/src/gpu/GrRecordReplaceDraw.cpp b/src/gpu/GrRecordReplaceDraw.cpp |
index d1a8d93558ed9a4c701fe358f2c5216400841f3d..5f0adb1601f9f7bde8d0a9f8530d06edf7d1081d 100644 |
--- a/src/gpu/GrRecordReplaceDraw.cpp |
+++ b/src/gpu/GrRecordReplaceDraw.cpp |
@@ -18,7 +18,7 @@ |
static inline void wrap_texture(GrTexture* texture, int width, int height, SkBitmap* result) { |
SkImageInfo info = SkImageInfo::MakeN32Premul(width, height); |
result->setInfo(info); |
- result->setPixelRef(SkNEW_ARGS(SkGrPixelRef, (info, texture)))->unref(); |
+ result->setPixelRef(new SkGrPixelRef(info, texture))->unref(); |
} |
static inline void draw_replacement_bitmap(GrCachedLayer* layer, SkCanvas* canvas) { |