[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
andreas.kling at nokia.com
andreas.kling at nokia.com
Wed Dec 22 13:32:39 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit e142551bd216938237e064579ada6222fe49e49b
Author: andreas.kling at nokia.com <andreas.kling at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Sun Sep 19 21:14:13 2010 +0000
2010-09-19 Andreas Kling <andreas.kling at nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] clipBoundingRect() should return rect relevant to current layer
https://bugs.webkit.org/show_bug.cgi?id=46059
r65791 inadvertently changed clipBoundingRect() to always use the GC painter
without checking the TransparencyLayer stack first.
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContextPlatformPrivate::p):
(WebCore::GraphicsContextPlatformPrivate::clipBoundingRect):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 89942cd..9716ba0 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-09-19 Andreas Kling <andreas.kling at nokia.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ [Qt] clipBoundingRect() should return rect relevant to current layer
+ https://bugs.webkit.org/show_bug.cgi?id=46059
+
+ r65791 inadvertently changed clipBoundingRect() to always use the GC painter
+ without checking the TransparencyLayer stack first.
+
+ * platform/graphics/qt/GraphicsContextQt.cpp:
+ (WebCore::GraphicsContextPlatformPrivate::p):
+ (WebCore::GraphicsContextPlatformPrivate::clipBoundingRect):
+
2010-09-19 Sam Weinig <sam at webkit.org>
Reviewed by Anders Carlsson.
diff --git a/WebCore/platform/graphics/qt/GraphicsContextQt.cpp b/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
index 5d63b5c..5a29ad4 100644
--- a/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
+++ b/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
@@ -174,7 +174,7 @@ public:
GraphicsContextPlatformPrivate(QPainter* painter);
~GraphicsContextPlatformPrivate();
- inline QPainter* p()
+ inline QPainter* p() const
{
if (layers.isEmpty())
return painter;
@@ -207,9 +207,9 @@ public:
QRectF clipBoundingRect() const
{
#if QT_VERSION >= QT_VERSION_CHECK(4, 8, 0)
- return painter->clipBoundingRect();
+ return p()->clipBoundingRect();
#else
- return painter->clipRegion().boundingRect();
+ return p()->clipRegion().boundingRect();
#endif
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list