From a39f4dc4b7f9e161ddbcb8b71273c98720df81c0 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 3 Apr 2013 19:55:19 +0000 Subject: [PATCH] Commit file accidentally left out of glc change for r8525 git-svn-id: http://skia.googlecode.com/svn/trunk@8526 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGLTexture.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gpu/gl/GrGLTexture.cpp b/src/gpu/gl/GrGLTexture.cpp index 66d6371..6314b0c 100644 --- a/src/gpu/gl/GrGLTexture.cpp +++ b/src/gpu/gl/GrGLTexture.cpp @@ -34,8 +34,7 @@ void GrGLTexture::init(GrGpuGL* gpu, 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))); } } -- 2.7.4