aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-03 19:55:19 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-03 19:55:19 +0000
commita39f4dc4b7f9e161ddbcb8b71273c98720df81c0 (patch)
tree5754139cd40d59db2aadd9acb9059d43afd48dfc /src
parentd02e8803e910b762e47a955162292c8b5eee15dc (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/gpu/gl/GrGLTexture.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLTexture.cpp b/src/gpu/gl/GrGLTexture.cpp
index 66d6371f06..6314b0c8f1 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)));
}
}