Changeset 59363 in webkit
- Timestamp:
- May 13, 2010 7:35:03 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r59362 r59363 1 2010-05-13 Antti Koivisto <koivisto@iki.fi> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 https://bugs.webkit.org/show_bug.cgi?id=39063 6 [Qt] Tiled backing store checker pattern does not paint correctly when scaling factor is not 1 7 8 Use the dirty rect that has been adjusted for scaling instead of the original one. 9 10 * platform/graphics/TiledBackingStore.cpp: 11 (WebCore::TiledBackingStore::paint): 12 1 13 2010-05-13 Chang Shu <chang.shu@nokia.com> 2 14 -
trunk/WebCore/platform/graphics/TiledBackingStore.cpp
r56184 r59363 121 121 currentTile->paint(context, dirtyRect); 122 122 else { 123 FloatRect tileRect = tileRectForCoordinate(currentCoordinate); 124 FloatRect target = intersection(tileRect, FloatRect(rect)); 125 Tile::paintCheckerPattern(context, target); 123 IntRect tileRect = tileRectForCoordinate(currentCoordinate); 124 IntRect target = intersection(tileRect, dirtyRect); 125 if (target.isEmpty()) 126 continue; 127 Tile::paintCheckerPattern(context, FloatRect(target)); 126 128 } 127 129 }
Note: See TracChangeset
for help on using the changeset viewer.