diff options
| author | bsalomon <bsalomon@google.com> | 2015-02-19 08:24:16 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-02-19 08:24:16 -0800 |
| commit | f99e961f55bb603d099c8cb57d05a2ae52a4e9ca (patch) | |
| tree | 4639f4c06a127fb69f810f320a2686cfb3e0ba1d /tests/GLProgramsTest.cpp | |
| parent | 4675819b9dbb3ad71ec851776e5de26d342f29fe (diff) | |
Allow resources' unique keys to be changed.
Review URL: https://codereview.chromium.org/938943002
Diffstat (limited to 'tests/GLProgramsTest.cpp')
| -rw-r--r-- | tests/GLProgramsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index 7736653a91..aeb97c4635 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; |
