Changeset 89147 in webkit


Ignore:
Timestamp:
Jun 17, 2011 11:13:46 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-06-17 Cary Clark <caryclark@google.com>

Reviewed by Mihai Parparita.

Exclude isCALayerContext check if building Chrome to use Skia on Mac.
https://bugs.webkit.org/show_bug.cgi?id=62859

No new tests. This change does not affect existing functionality.

  • platform/chromium/ScrollbarThemeChromiumMac.mm: (WebCore::ScrollbarThemeChromiumMac::paint): Add a conditional to always set drawing into layer to false if Skia is the WebKit rendering engine. Once USE(SKIA) is enabled, this condition can be removed.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r89146 r89147  
     12011-06-17  Cary Clark  <caryclark@google.com>
     2
     3        Reviewed by Mihai Parparita.
     4
     5        Exclude isCALayerContext check if building Chrome to use Skia on Mac.
     6        https://bugs.webkit.org/show_bug.cgi?id=62859
     7
     8        No new tests. This change does not affect existing functionality.
     9
     10        * platform/chromium/ScrollbarThemeChromiumMac.mm:
     11        (WebCore::ScrollbarThemeChromiumMac::paint):
     12        Add a conditional to always set drawing into layer to false if
     13        Skia is the WebKit rendering engine. Once USE(SKIA) is enabled,
     14        this condition can be removed.
     15
    1162011-06-17  Gavin Peters  <gavinp@chromium.org>
    217
  • trunk/Source/WebCore/platform/chromium/ScrollbarThemeChromiumMac.mm

    r89120 r89147  
    472472
    473473        ScrollAnimatorChromiumMac* scrollAnimator = static_cast<ScrollAnimatorChromiumMac*>(scrollbar->scrollableArea()->scrollAnimator());
     474#if !USE(SKIA)
    474475        scrollAnimator->setIsDrawingIntoLayer(context->isCALayerContext());
     476#else
     477        scrollAnimator->setIsDrawingIntoLayer(false);
     478#endif
    475479
    476480        wkSetScrollbarPainterKnobStyle(painterForScrollbar(scrollbar), toScrollbarPainterKnobStyle(scrollbar->scrollableArea()->recommendedScrollbarOverlayStyle()));
Note: See TracChangeset for help on using the changeset viewer.