Fix memory leak: adopt rather than ref GrTexture* in GrTextureStripAtlas
authorRobert Phillips <robertphillips@google.com>
Thu, 23 Feb 2017 16:32:32 +0000 (11:32 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 23 Feb 2017 17:43:08 +0000 (17:43 +0000)
commit8e15cdf778401e919ddcd3b553b64ddeffd85fa1
tree6f3d2fc1fe09220fda60911111241c5f3cb5e629
parent372953bac3fd4b48925b32b995b97e614e2f4bed
Fix memory leak: adopt rather than ref GrTexture* in GrTextureStripAtlas

This was introduced in: https://skia-review.googlesource.com/c/8881/ (Switch GrTextureStripAtlas over to GrTextureProxies)

Change-Id: I6635e9fee9f63d703373b31c31fda459f5b63763
Reviewed-on: https://skia-review.googlesource.com/8916
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
src/gpu/effects/GrTextureStripAtlas.cpp