Index: src/gpu/gl/GrGLRenderTarget.h |
diff --git a/src/gpu/gl/GrGLRenderTarget.h b/src/gpu/gl/GrGLRenderTarget.h |
index d558297958ffed589347e16a00f91ad8078a1d70..de9f4c1aa08c15198a8c00e29c1b25be0fe76b74 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.h |
+++ b/src/gpu/gl/GrGLRenderTarget.h |
@@ -97,7 +97,7 @@ private: |
GrGLIRect fViewport; |
// non-NULL if this RT was created by Gr with an associated GrGLTexture. |
robertphillips
2013/07/17 14:13:21
Would a SkRefPtr be better here?
|
- GrGLTexID* fTexIDObj; |
+ SkAutoTUnref<GrGLTexID> fTexIDObj; |
void init(const Desc& desc, const GrGLIRect& viewport, GrGLTexID* texID); |