Descriptioncc: Adopt new skia object when it's created to avoid memory leak.
Skia ref-counted objects must always be adopted at creation time
in order to prevent memory leaks. The SoftwareRenderer was creating
an SkDrawFilter and passing it to the SkCanvas without adopting it
first, and this was leaking the filter.
R=aelias
BUG=285161
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221247
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|