From ec745133ebaf0e3ede2d6656a96399f960a95876 Mon Sep 17 00:00:00 2001 From: Nicolas Roard Date: Mon, 25 Jan 2010 22:10:44 +0000 Subject: Fix potential crash with layers enabled. See bug http://b/2395197 We remove the AndroidAnimationTimer class, and use a callback mechanism instead in GraphicsLayerAndroid. --- WebCore/platform/graphics/android/AndroidAnimation.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'WebCore/platform/graphics/android/AndroidAnimation.h') diff --git a/WebCore/platform/graphics/android/AndroidAnimation.h b/WebCore/platform/graphics/android/AndroidAnimation.h index 05d6a76..1ecc22f 100644 --- a/WebCore/platform/graphics/android/AndroidAnimation.h +++ b/WebCore/platform/graphics/android/AndroidAnimation.h @@ -180,23 +180,6 @@ class AndroidTransformAnimation : public AndroidAnimation { float m_toScaleX, m_toScaleY, m_toScaleZ; }; -class AndroidAnimationTimer : public TimerBase { - public: - - AndroidAnimationTimer(GraphicsLayerAndroid* layer, double beginTime) - { - m_layer = layer; - m_notificationSent = false; - m_beginTime = beginTime; - } - - private: - void fired(); - GraphicsLayerAndroid* m_layer; - double m_beginTime; - bool m_notificationSent; -}; - } // namespace WebCore -- cgit v1.1