Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: tests/GLProgramsTest.cpp

Issue 938943002: Allow GrGpuResources' unique keys to be changed. (Closed) Base URL: https://skia.googlesource.com/skia.git@rename
Patch Set: Address comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/effects/GrTextureStripAtlas.cpp ('k') | tests/ResourceCacheTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/gpu/effects/GrTextureStripAtlas.cpp ('k') | tests/ResourceCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698