Changeset 74327 in webkit
- Timestamp:
- Dec 19, 2010 1:34:51 PM (13 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r74324 r74327 1 2010-12-19 Benjamin Poulain <benjamin.poulain@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] [WK2] QWKPagePrivate::paint() does not need to save the graphics context 6 https://bugs.webkit.org/show_bug.cgi?id=51300 7 8 Remove the unnecessary save() and restore() on the QPainter. 9 10 * UIProcess/API/qt/qwkpage.cpp: 11 (QWKPagePrivate::paint): 12 1 13 2010-12-19 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 14 -
trunk/WebKit2/UIProcess/API/qt/qwkpage.cpp
r74322 r74327 161 161 void QWKPagePrivate::paint(QPainter* painter, QRect area) 162 162 { 163 painter->save();164 165 163 if (page->isValid() && page->drawingArea()) 166 164 page->drawingArea()->paint(IntRect(area), painter); 167 165 else 168 166 painter->fillRect(area, Qt::white); 169 170 painter->restore();171 167 } 172 168
Note: See TracChangeset
for help on using the changeset viewer.