commit | 8b602ddd59f7016f50b4ea27dacfe4788cf07c14 | [log] [tgz] |
---|---|---|
author | sugoi <sugoi@chromium.org> | Fri Oct 31 07:16:16 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Oct 31 07:16:16 2014 -0700 |
tree | 93a7250ea4373d147fba6705a4b036dd8904b8d1 | |
parent | 0b5fc9774f6cf155ba4ff1a8e4e3e753206ad969 [diff] |
Objects should be unrefed instead of deleted When an error occurs reading a flattenable object, it should be unrefed instead of deleted because, in the case of SkXferMode, for example, we'd actually be deleting a cached object kept in a static array. BUG=428789 Review URL: https://codereview.chromium.org/695633003