Index: src/gpu/GrYUVProvider.cpp |
diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp |
index 708cbecb11ff9100bb4c4f36880c26e72a341890..f35c6dfe9b2ae156d879be5ae366661539853891 100644 |
--- a/src/gpu/GrYUVProvider.cpp |
+++ b/src/gpu/GrYUVProvider.cpp |
@@ -141,6 +141,6 @@ GrTexture* GrYUVProvider::refAsTexture(GrContext* ctx, const GrSurfaceDesc& desc |
drawContext->drawRect(GrClip::WideOpen(), paint, SkMatrix::I(), r); |
- return result.detach(); |
+ return result.release(); |
} |