2009-02-05 Simon Fraser <simon.fraser@apple.com>
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Feb 2009 04:09:31 +0000 (04:09 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Feb 2009 04:09:31 +0000 (04:09 +0000)
        Fix build when ACCELERATED_COMPOSITING is turned on.

        animationOfPropertyIsAccelerated() needs to be public because
        it is called from AnimationController.

        * page/animation/AnimationBase.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40700 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/page/animation/AnimationBase.h

index 08ff124..95901b8 100644 (file)
@@ -1,5 +1,14 @@
 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
 
+        Fix build when ACCELERATED_COMPOSITING is turned on.
+        
+        animationOfPropertyIsAccelerated() needs to be public because
+        it is called from AnimationController.
+
+        * page/animation/AnimationBase.h:
+
+2009-02-05  Simon Fraser  <simon.fraser@apple.com>
+
         Reviewed by Anders Carlsson
 
         Fix mis-typed enum value which is hidden inside #ifdefs so didn't break
index 269ae56..44704bd 100644 (file)
@@ -171,7 +171,11 @@ public:
         ASSERT(waitingForStyleAvailable());
         updateStateMachine(AnimationBase::AnimationStateInputStyleAvailable, -1);
     }
-    
+
+#if USE(ACCELERATED_COMPOSITING)
+    static bool animationOfPropertyIsAccelerated(int prop);
+#endif
+
 protected:
     virtual void overrideAnimations() { }
     virtual void resumeOverriddenAnimations() { }
@@ -196,10 +200,6 @@ protected:
     // Return true if we need to start software animation timers
     static bool blendProperties(const AnimationBase* anim, int prop, RenderStyle* dst, const RenderStyle* a, const RenderStyle* b, double progress);
 
-#if USE(ACCELERATED_COMPOSITING)
-    static bool animationOfPropertyIsAccelerated(int prop);
-#endif
-
     static void setChanged(Node*);
     
     void getTimeToNextEvent(double& time, bool& isLooping) const;