Changeset 47211 in webkit
- Timestamp:
- Aug 13, 2009, 10:52:26 AM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r47208 r47211 1 2009-08-13 Dirk Schulze <krit@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 [CAIRO] getImageData fails on a given rect bigger than the image rect 6 7 The destination image and the source image was mixed up on creating the 8 imageData. 9 10 This is just a clean up and doesn't affect the current behavior. It's not 11 possible to test this failure in a LayoutTest. Only canvas uses getImageData 12 at the moment and returns before calling getImageData, if the image rect does 13 not contain the requested rect. 14 15 * platform/graphics/cairo/ImageBufferCairo.cpp: 16 (WebCore::getImageData): 17 1 18 2009-08-13 Maxime Simon <simon.maxime@gmail.com> 2 19 -
trunk/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp
r47099 r47211 149 149 150 150 if (rect.x() < 0 || rect.y() < 0 || (rect.x() + rect.width()) > size.width() || (rect.y() + rect.height()) > size.height()) 151 memset(data Src, 0, result->data()->length());151 memset(dataDst, 0, result->data()->length()); 152 152 153 153 int originx = rect.x();
Note:
See TracChangeset
for help on using the changeset viewer.