DescriptionFix 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
Committed: https://skia.googlesource.com/skia/+/85237822b3f736e1738b5791227a2d6656137f23
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|