Commit 14fd3ede authored by simon.fraser@apple.com's avatar simon.fraser@apple.com
Browse files

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:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 69a12829
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
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment