Chromium Code Reviews| Index: src/gpu/gl/GrGLTexture.cpp |
| =================================================================== |
| --- src/gpu/gl/GrGLTexture.cpp (revision 8570) |
| +++ src/gpu/gl/GrGLTexture.cpp (working copy) |
| @@ -34,8 +34,7 @@ |
| vp.fBottom = 0; |
| vp.fHeight = textureDesc.fHeight; |
| - fRenderTarget = SkNEW_ARGS(GrGLRenderTarget, |
| - (gpu, *rtDesc, vp, fTexIDObj, this)); |
| + fRenderTarget.reset(SkNEW_ARGS(GrGLRenderTarget, (gpu, *rtDesc, vp, fTexIDObj, this))); |
| } |
| } |