Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Issue 195163004: Fix SkOffsetImageFilter to use a temporary for bounds computations. (Closed)

Created:
6 years, 9 months ago by Stephen White
Modified:
6 years, 9 months ago
Reviewers:
sugoi1, sugoi
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

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: Committed: https://code.google.com/p/skia/source/detail?r=13744

Patch Set 1 #

Patch Set 2 : Fix expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M expectations/gm/ignored-tests.txt View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/effects/SkOffsetImageFilter.cpp View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Stephen White
sugoi: PTAL. Thanks!
6 years, 9 months ago (2014-03-11 17:57:39 UTC) #1
sugoi
On 2014/03/11 17:57:39, Stephen White wrote: > sugoi: PTAL. Thanks! LGTM
6 years, 9 months ago (2014-03-11 18:01:57 UTC) #2
Stephen White
6 years, 9 months ago (2014-03-11 18:29:47 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r13744 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698