diff options
author | 2014-03-11 18:29:42 +0000 | |
---|---|---|
committer | 2014-03-11 18:29:42 +0000 | |
commit | 06342a2666012f5d27faa7c2e230ae54f2dff311 (patch) | |
tree | 6cf86ece2d7511be88b2f4370d45e5dcbea7308d /src/xml/SkXMLParser.cpp | |
parent | cdd0f92b1aca0c2164ac1a24d7f14a6ad3cc10f5 (diff) |
Fix 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:
Review URL: https://codereview.chromium.org/195163004
git-svn-id: http://skia.googlecode.com/svn/trunk@13744 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/xml/SkXMLParser.cpp')
0 files changed, 0 insertions, 0 deletions