Index: src/gpu/gl/GrGLTextureRenderTarget.h |
diff --git a/src/gpu/gl/GrGLTextureRenderTarget.h b/src/gpu/gl/GrGLTextureRenderTarget.h |
index af0fde4f02f39b3fdb6a8145cb2343206b672ad3..e2dd14c8820c2b611e81c9bd97b6dc302b4d6cf8 100644 |
--- a/src/gpu/gl/GrGLTextureRenderTarget.h |
+++ b/src/gpu/gl/GrGLTextureRenderTarget.h |
@@ -28,7 +28,7 @@ public: |
const GrSurfaceDesc& desc, |
const GrGLTexture::IDDesc& texIDDesc, |
const GrGLRenderTarget::IDDesc& rtIDDesc) |
- : GrSurface(gpu, texIDDesc.fIsWrapped, desc) |
+ : GrSurface(gpu, texIDDesc.fLifeCycle, desc) |
, GrGLTexture(gpu, desc, texIDDesc, GrGLTexture::kDerived) |
, GrGLRenderTarget(gpu, desc, rtIDDesc, GrGLRenderTarget::kDerived) { |
this->registerWithCache(); |