Changeset 121618 in webkit


Ignore:
Timestamp:
Jun 29, 2012 8:52:17 PM (12 years ago)
Author:
noam.rosenthal@nokia.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r121616 r121618  
     12012-06-29  No'am Rosenthal  <noam.rosenthal@nokia.com>
     2
     3        Unreviewed, rolling out r121569.
     4        http://trac.webkit.org/changeset/121569
     5        https://bugs.webkit.org/show_bug.cgi?id=90082
     6
     7        It broke a couple of tests in Qt Linux Release
     8
     9        * platform/graphics/qt/GraphicsContextQt.cpp:
     10        (WebCore::GraphicsContext::fillRect):
     11
    1122012-06-29  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp

    r121569 r121618  
    675675        if (hasShadow()) {
    676676            if (shadow->mustUseShadowBlur(this)) {
    677                 shadow->drawRectShadow(this, rect, RoundedRect::Radii());
     677                GraphicsContext* shadowContext = shadow->beginShadowLayer(this, normalizedRect);
     678                if (shadowContext) {
     679                    QPainter* shadowPainter = shadowContext->platformContext();
     680                    shadowPainter->fillRect(normalizedRect, p->brush());
     681                    shadow->endShadowLayer(this);
     682                }
    678683            } else {
    679684                // Solid rectangle fill with no blur shadow or transformations applied can be done
Note: See TracChangeset for help on using the changeset viewer.