Changeset 77945 in webkit
- Timestamp:
- Feb 8, 2011 9:05:50 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r77944 r77945 1 2011-02-08 George Wright <gwright@rim.com> 2 3 Reviewed by Darin Adler. 4 5 https://bugs.webkit.org/show_bug.cgi?id=53951 6 7 Ensure we do not pass (-1, -1) sized rects to ImageBuffer but instead 8 pass the full image dimensions. 9 10 * platform/graphics/GraphicsContext.cpp: 11 (WebCore::GraphicsContext::drawImageBuffer): 12 1 13 2011-02-08 Patrick Gansterer <paroga@webkit.org> 2 14 -
trunk/Source/WebCore/platform/graphics/GraphicsContext.cpp
r77110 r77945 545 545 // FIXME: Should be InterpolationLow 546 546 setImageInterpolationQuality(InterpolationNone); 547 image->draw(this, styleColorSpace, dest, src, op, useLowQualityScale);547 image->draw(this, styleColorSpace, FloatRect(dest.location(), FloatSize(tw, th)), FloatRect(src.location(), FloatSize(tsw, tsh)), op, useLowQualityScale); 548 548 setImageInterpolationQuality(previousInterpolationQuality); 549 549 } else 550 image->draw(this, styleColorSpace, dest, src, op, useLowQualityScale);550 image->draw(this, styleColorSpace, FloatRect(dest.location(), FloatSize(tw, th)), FloatRect(src.location(), FloatSize(tsw, tsh)), op, useLowQualityScale); 551 551 } 552 552
Note: See TracChangeset
for help on using the changeset viewer.