Changeset 88321 in webkit
- Timestamp:
- Jun 7, 2011 8:31:26 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r88319 r88321 1 2011-06-07 Ian Henderson <ianh@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 (CG) Sub-image drawing clips unnecessarily 6 https://bugs.webkit.org/show_bug.cgi?id=62258 7 8 If destRect completely encompasses the adjustedDestRect into which we 9 draw, clipping to destRect will do nothing. Skip the call to 10 CGContextClipToRect in this case. 11 12 * platform/graphics/cg/ImageCG.cpp: 13 (WebCore::BitmapImage::draw): 14 1 15 2011-06-07 Emil A Eklund <eae@chromium.org> 2 16 -
trunk/Source/WebCore/platform/graphics/cg/ImageCG.cpp
r87598 r88321 242 242 } 243 243 244 CGContextClipToRect(context, destRect); 244 if (!destRect.contains(adjustedDestRect)) 245 CGContextClipToRect(context, destRect); 245 246 } 246 247
Note: See TracChangeset
for help on using the changeset viewer.