[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da
benjamin.poulain at nokia.com
benjamin.poulain at nokia.com
Wed Dec 22 18:48:38 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit b5d74745ef7e94a822ed81fbe30e6f18fd4bda6f
Author: benjamin.poulain at nokia.com <benjamin.poulain at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sun Dec 19 21:34:51 2010 +0000
2010-12-19 Benjamin Poulain <benjamin.poulain at nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] [WK2] QWKPagePrivate::paint() does not need to save the graphics context
https://bugs.webkit.org/show_bug.cgi?id=51300
Remove the unnecessary save() and restore() on the QPainter.
* UIProcess/API/qt/qwkpage.cpp:
(QWKPagePrivate::paint):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index ba30e3f..4d72055 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -1,3 +1,15 @@
+2010-12-19 Benjamin Poulain <benjamin.poulain at nokia.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ [Qt] [WK2] QWKPagePrivate::paint() does not need to save the graphics context
+ https://bugs.webkit.org/show_bug.cgi?id=51300
+
+ Remove the unnecessary save() and restore() on the QPainter.
+
+ * UIProcess/API/qt/qwkpage.cpp:
+ (QWKPagePrivate::paint):
+
2010-12-19 Kenneth Rohde Christiansen <kenneth at webkit.org>
Reviewed by Andreas Kling.
diff --git a/WebKit2/UIProcess/API/qt/qwkpage.cpp b/WebKit2/UIProcess/API/qt/qwkpage.cpp
index 9a1cee1..621d966 100644
--- a/WebKit2/UIProcess/API/qt/qwkpage.cpp
+++ b/WebKit2/UIProcess/API/qt/qwkpage.cpp
@@ -160,14 +160,10 @@ void QWKPagePrivate::didFinishLoadingDataForCustomRepresentation(const CoreIPC::
void QWKPagePrivate::paint(QPainter* painter, QRect area)
{
- painter->save();
-
if (page->isValid() && page->drawingArea())
page->drawingArea()->paint(IntRect(area), painter);
else
painter->fillRect(area, Qt::white);
-
- painter->restore();
}
void QWKPagePrivate::keyPressEvent(QKeyEvent* ev)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list