DescriptionFix SkOffsetImageFilter to use a temporary for bounds computations.
SkOffsetImageFilter::onFilterBounds() was writing to *dst, and later
referring to src. These may be the same memory location, so the results
were incorrect.
Covered by the 5th test case in offsetimagefilter.
BUG=skia:
Committed: https://code.google.com/p/skia/source/detail?r=13744
Patch Set 1 #Patch Set 2 : Fix expectations #
Messages
Total messages: 3 (0 generated)
|