| Index: src/gpu/GrLayerHoister.cpp
|
| diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp
|
| index e1aa72c83d260456e6f32993ac5ca4687fef2c5d..59a4da1b231a5351371bac7a781c145744c3c67e 100644
|
| --- a/src/gpu/GrLayerHoister.cpp
|
| +++ b/src/gpu/GrLayerHoister.cpp
|
| @@ -282,7 +282,7 @@ SkBitmap wrap_texture(GrTexture* texture) {
|
|
|
| SkBitmap result;
|
| result.setInfo(texture->surfacePriv().info(kPremul_SkAlphaType));
|
| - result.setPixelRef(SkNEW_ARGS(SkGrPixelRef, (result.info(), texture)))->unref();
|
| + result.setPixelRef(new SkGrPixelRef(result.info(), texture))->unref();
|
| return result;
|
| }
|
|
|
|
|