commit | 9631337be0f463ede106c5dbca69d726795f6ccf | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Apr 16 16:17:39 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Apr 16 16:17:39 2014 +0000 |
tree | 7751384b75bbf36d7c3d3236b974c7633d494388 | |
parent | 6c508885b68e459724984eff6822dac3523fa001 [diff] |
Fix memory leak in SkGradientShader. Make sure pointer to gradient shader cache is unreffed in SkGradientShaderBase::getGradientTableBitmap. Rename methods returning a "pre-reffed" object to indicate obligations. BUG=skia:1976 R=reed@google.com, scroggo@google.com Author: dominikg@chromium.org Review URL: https://codereview.chromium.org/240303003 git-svn-id: http://skia.googlecode.com/svn/trunk@14223 2bbb7eff-a529-9590-31e7-b0007b416f81