Changeset 106273 in webkit


Ignore:
Timestamp:
Jan 30, 2012 11:50:48 AM (12 years ago)
Author:
mdelaney@apple.com
Message:

Limit the shadow offset CG hack to just SL and Lion
https://bugs.webkit.org/show_bug.cgi?id=77348
<rdar://problem/10158016>

Reviewed by Chris Marrin.

No new tests, current tests cover this.

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::GraphicsContext::setPlatformShadow):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r106271 r106273  
     12012-01-28  Matthew Delaney  <mdelaney@apple.com>
     2
     3        Limit the shadow offset CG hack to just SL and Lion
     4        https://bugs.webkit.org/show_bug.cgi?id=77348
     5        <rdar://problem/10158016>
     6
     7        Reviewed by Chris Marrin.
     8
     9        No new tests, current tests cover this.
     10
     11        * platform/graphics/cg/GraphicsContextCG.cpp:
     12        (WebCore::GraphicsContext::setPlatformShadow):
     13
    1142012-01-30  Beth Dakin  <bdakin@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp

    r105296 r106273  
    10371037
    10381038
     1039#if defined(BUILDING_ON_SNOW_LEOPARD) || defined(BUILDING_ON_LION)
    10391040    if (!isAcceleratedContext()) {
    10401041        // Work around <rdar://problem/5539388> by ensuring that the offsets will get truncated
     
    10511052            yOffset -= extraShadowOffset;
    10521053    }
     1054#endif
    10531055
    10541056    // Check for an invalid color, as this means that the color was not set for the shadow
Note: See TracChangeset for help on using the changeset viewer.