Changeset 156272 in webkit
- Timestamp:
- Sep 23, 2013 8:40:29 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r156270 r156272 1 2013-09-23 Allan Sandfeld Jensen <allan.jensen@digia.com> 2 3 [Qt] Tiled backing-store causes wrong translation 4 https://bugs.webkit.org/show_bug.cgi?id=121789 5 6 Reviewed by Noam Rosenthal. 7 8 Move the translation inside save/restore of the GraphicsContext. 9 10 * platform/graphics/qt/TileQt.cpp: 11 (WebCore::TileQt::updateBackBuffer): 12 1 13 2013-09-23 Andreas Kling <akling@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/qt/TileQt.cpp
r99664 r156272 113 113 QPainter painter(m_backBuffer); 114 114 GraphicsContext context(&painter); 115 context.translate(-m_rect.x(), -m_rect.y());116 115 117 116 Vector<IntRect> updatedRects; … … 119 118 for (int n = 0; n < size; ++n) { 120 119 context.save(); 120 context.translate(-m_rect.x(), -m_rect.y()); 121 121 IntRect rect = dirtyRects[n]; 122 122 updatedRects.append(rect);
Note: See TracChangeset
for help on using the changeset viewer.