Changeset 87680 in webkit
- Timestamp:
- May 30, 2011 1:30:17 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87678 r87680 1 2011-05-30 Ryan Sleevi <rsleevi@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 FEConvolveMatrix::getPixelValue() fails to properly check if y is within bounds, causing it to fail to correctly apply the kernel and edge mode to the first targetY pixels 6 https://bugs.webkit.org/show_bug.cgi?id=61603 7 8 * platform/mac/svg/filters/feConvolveFilter-y-bounds-expected.png: Added. 9 * platform/mac/svg/filters/feConvolveFilter-y-bounds-expected.txt: Added. 10 * svg/filters/feConvolveFilter-y-bounds.svg: Added. 11 1 12 2011-05-30 Sheriff Bot <webkit.review.bot@gmail.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r87679 r87680 1 2011-05-30 Ryan Sleevi <rsleevi@chromium.org> 2 3 Reviewed by Darin Adler. 4 5 FEConvolveMatrix::getPixelValue() fails to properly check if y is within bounds, causing it to fail to correctly apply the kernel and edge mode to the first targetY pixels 6 https://bugs.webkit.org/show_bug.cgi?id=61603 7 8 Test: svg/filters/feConvolveFilter-y-bounds.svg 9 10 * platform/graphics/filters/FEConvolveMatrix.cpp: 11 (WebCore::FEConvolveMatrix::getPixelValue): 12 1 13 2011-05-30 Nate Chapin <japhet@chromium.org> 2 14 -
trunk/Source/WebCore/platform/graphics/filters/FEConvolveMatrix.cpp
r86931 r87680 291 291 ALWAYS_INLINE int FEConvolveMatrix::getPixelValue(PaintingData& paintingData, int x, int y) 292 292 { 293 if (x >= 0 && x < paintingData.width && x>= 0 && y < paintingData.height)293 if (x >= 0 && x < paintingData.width && y >= 0 && y < paintingData.height) 294 294 return (y * paintingData.width + x) << 2; 295 295
Note: See TracChangeset
for help on using the changeset viewer.