Title: [121618] trunk/Source/WebCore
- Revision
- 121618
- Author
- [email protected]
- Date
- 2012-06-29 20:52:17 -0700 (Fri, 29 Jun 2012)
Log Message
Unreviewed, rolling out r121569.
http://trac.webkit.org/changeset/121569
https://bugs.webkit.org/show_bug.cgi?id=90082
It broke a couple of tests in Qt Linux Release
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::fillRect):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (121617 => 121618)
--- trunk/Source/WebCore/ChangeLog 2012-06-30 03:36:48 UTC (rev 121617)
+++ trunk/Source/WebCore/ChangeLog 2012-06-30 03:52:17 UTC (rev 121618)
@@ -1,3 +1,14 @@
+2012-06-29 No'am Rosenthal <[email protected]>
+
+ Unreviewed, rolling out r121569.
+ http://trac.webkit.org/changeset/121569
+ https://bugs.webkit.org/show_bug.cgi?id=90082
+
+ It broke a couple of tests in Qt Linux Release
+
+ * platform/graphics/qt/GraphicsContextQt.cpp:
+ (WebCore::GraphicsContext::fillRect):
+
2012-06-29 Simon Fraser <[email protected]>
updateDescendantDependentFlags() is inside #if USE(ACCELERATED_COMPOSITING)
Modified: trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp (121617 => 121618)
--- trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp 2012-06-30 03:36:48 UTC (rev 121617)
+++ trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp 2012-06-30 03:52:17 UTC (rev 121618)
@@ -674,7 +674,12 @@
} else {
if (hasShadow()) {
if (shadow->mustUseShadowBlur(this)) {
- shadow->drawRectShadow(this, rect, RoundedRect::Radii());
+ GraphicsContext* shadowContext = shadow->beginShadowLayer(this, normalizedRect);
+ if (shadowContext) {
+ QPainter* shadowPainter = shadowContext->platformContext();
+ shadowPainter->fillRect(normalizedRect, p->brush());
+ shadow->endShadowLayer(this);
+ }
} else {
// Solid rectangle fill with no blur shadow or transformations applied can be done
// faster without using the shadow layer at all.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes