Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 7736653a91f2233e80c18e535c63bf5a6f3b9506..aeb97c46358389f3b846a9d1b6f1aa5755a334c6 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -118,7 +118,7 @@ static GrRenderTarget* random_render_target(GrContext* context, SkRandom* random |
if (!texture) { |
texture = context->createTexture(texDesc, true); |
if (texture) { |
- SkAssertResult(context->addResourceToCache(key, texture)); |
+ context->addResourceToCache(key, texture); |
} |
} |
return texture ? texture->asRenderTarget() : NULL; |