commit | 85237822b3f736e1738b5791227a2d6656137f23 | [log] [tgz] |
---|---|---|
author | ssid <ssid@chromium.org> | Fri Sep 04 08:29:24 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 04 08:29:24 2015 -0700 |
tree | c8b64d51b8cfe26e81fbe3358518e7e4d13481c2 | |
parent | 55143211e955594a0913d0f9b0f7853f9c8c4954 [diff] |
Fix SkOneShotDiscardablePixelRef to return discardable segment. The SkOneShotDiscardablePixelRef was not overriding diagnostic_only_getDiscardable method of SkPixelRef. This caused the memory to be acocunted under malloc instead of discardable and caused wrong accounting. BUG=528295 Review URL: https://codereview.chromium.org/1304083006