diff options
author | Nicolas Roard <nicolas@android.com> | 2010-01-25 22:10:44 +0000 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-01-26 18:06:08 +0000 |
commit | ec745133ebaf0e3ede2d6656a96399f960a95876 (patch) | |
tree | 13d085e1a3a5d0495da29923e88d9d16adc5985f /WebCore/platform/graphics/android/AndroidAnimation.h | |
parent | aefef8d800d34d6733c13b05c7cfe214d06b62d8 (diff) | |
download | external_webkit-ec745133ebaf0e3ede2d6656a96399f960a95876.zip external_webkit-ec745133ebaf0e3ede2d6656a96399f960a95876.tar.gz external_webkit-ec745133ebaf0e3ede2d6656a96399f960a95876.tar.bz2 |
Fix potential crash with layers enabled.
See bug http://b/2395197
We remove the AndroidAnimationTimer class, and use a callback mechanism instead
in GraphicsLayerAndroid.
Diffstat (limited to 'WebCore/platform/graphics/android/AndroidAnimation.h')
-rw-r--r-- | WebCore/platform/graphics/android/AndroidAnimation.h | 17 |
1 files changed, 0 insertions, 17 deletions
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 |