Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index ad1b4c49553316267a5ed150390f8e68ed47cb7d..ff034004b4dcd829e96d0379225425d9152eba0d 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1575,6 +1575,7 @@ void GrContext::copyTexture(GrTexture* src, GrRenderTarget* dst, const SkIPoint* |
return; |
} |
ASSERT_OWNED_RESOURCE(src); |
+ ASSERT_OWNED_RESOURCE(dst); |
SkIRect srcRect = SkIRect::MakeWH(dst->width(), dst->height()); |
if (topLeft) { |