Changeset 52122 in webkit
- Timestamp:
- Dec 14, 2009 2:30:57 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52120 r52122 1 2009-12-14 Marco Martin <notmart@gmail.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 In the Scrollbar painting of the Qt theme integration, 6 intersects any previous clip rects with the one needed to paint the scrollbar. 7 This fixes the painting in QGraphicsview, when the parent of the widget that 8 paints the QWebPage has the QGraphicsItem::ItemClipsChildrenToShape set and 9 a piece of the scrollbar should be cipped away 10 https://bugs.webkit.org/show_bug.cgi?id=30366 11 12 No new tests. 13 14 * platform/qt/ScrollbarThemeQt.cpp: 15 (WebCore::ScrollbarThemeQt::paint): 16 1 17 2009-12-14 Dimitri Glazkov <dglazkov@chromium.org> 2 18 -
trunk/WebCore/platform/qt/ScrollbarThemeQt.cpp
r46170 r52122 148 148 QStyleOptionSlider* opt = styleOptionSlider(scrollbar, p.widget); 149 149 150 p.painter->setClipRect(opt->rect.intersected(damageRect) );150 p.painter->setClipRect(opt->rect.intersected(damageRect), Qt::IntersectClip); 151 151 152 152 #ifdef Q_WS_MAC
Note: See TracChangeset
for help on using the changeset viewer.