Title: [201770] trunk/Source/WebKit2
Revision
201770
Author
wei...@apple.com
Date
2016-06-07 13:32:50 -0700 (Tue, 07 Jun 2016)

Log Message

Fix 10.10 build.

* WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm:
(WebKit::addAnimationToLayer):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (201769 => 201770)


--- trunk/Source/WebKit2/ChangeLog	2016-06-07 20:24:40 UTC (rev 201769)
+++ trunk/Source/WebKit2/ChangeLog	2016-06-07 20:32:50 UTC (rev 201770)
@@ -1,3 +1,10 @@
+2016-06-07  Sam Weinig  <s...@webkit.org>
+
+        Fix 10.10 build.
+
+        * WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm:
+        (WebKit::addAnimationToLayer):
+
 2016-06-06  Alex Christensen  <achristen...@webkit.org>
 
         Modernize loading code

Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm (201769 => 201770)


--- trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm	2016-06-07 20:24:40 UTC (rev 201769)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCAAnimationRemote.mm	2016-06-07 20:32:50 UTC (rev 201770)
@@ -780,7 +780,11 @@
                 [springAnimation setMass:function.mass()];
                 [springAnimation setStiffness:function.stiffness()];
                 [springAnimation setDamping:function.damping()];
+#if PLATFORM(IOS) || PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101100
                 [springAnimation setInitialVelocity:function.initialVelocity()];
+#else
+                [springAnimation setVelocity:function.initialVelocity()];
+#endif
             }
         }
         caAnimation = springAnimation;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to