Changeset 62992 in webkit


Ignore:
Timestamp:
Jul 9, 2010 2:04:46 PM (14 years ago)
Author:
aestes@apple.com
Message:

2010-07-09 Andy Estes <aestes@apple.com>

Reviewed by Adele Peterson.

Remove the workaround for a Core Animation bug on platforms where the
bug has been fixed.
https://bugs.webkit.org/show_bug.cgi?id=41927
<rdar://problem/7920153>

  • platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): Add a compile-time check for platforms that have a Core Animation bug that needs working around.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r62984 r62992  
     12010-07-09  Andy Estes  <aestes@apple.com>
     2
     3        Reviewed by Adele Peterson.
     4
     5        Remove the workaround for a Core Animation bug on platforms where the
     6        bug has been fixed.
     7        https://bugs.webkit.org/show_bug.cgi?id=41927
     8        <rdar://problem/7920153>
     9
     10        * platform/graphics/mac/GraphicsLayerCA.mm:
     11        (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): Add
     12        a compile-time check for platforms that have a Core Animation bug that
     13        needs working around.
     14
    1152010-07-08  Tony Gentilcore  <tonyg@chromium.org>
    216
  • trunk/WebCore/platform/graphics/mac/GraphicsLayerCA.mm

    r62286 r62992  
    18211821        CAPropertyAnimation* caAnimation;
    18221822
     1823#if defined(BUILDING_ON_LEOPARD) || defined(BUILDING_ON_SNOW_LEOPARD)
    18231824        // CA applies animations in reverse order (<rdar://problem/7095638>) so we need the last one we add (per property)
    18241825        // to be non-additive.
    18251826        bool additive = animationIndex < (numAnimations - 1);
     1827#else
     1828        bool additive = animationIndex > 0;
     1829#endif
    18261830        if (isKeyframe) {
    18271831            CAKeyframeAnimation* keyframeAnim = createKeyframeAnimation(animation, valueList.property(), additive);
Note: See TracChangeset for help on using the changeset viewer.