summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/BitmapImage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/BitmapImage.cpp')
-rw-r--r--WebCore/platform/graphics/BitmapImage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/BitmapImage.cpp b/WebCore/platform/graphics/BitmapImage.cpp
index 45b32ab..68863df 100644
--- a/WebCore/platform/graphics/BitmapImage.cpp
+++ b/WebCore/platform/graphics/BitmapImage.cpp
@@ -262,6 +262,10 @@ bool BitmapImage::shouldAnimate()
void BitmapImage::startAnimation(bool catchUpIfNecessary)
{
+#ifdef ANDROID_ANIMATED_GIF
+ // We can't ever seem to keep up, so always let us just show the next frame
+ catchUpIfNecessary = false;
+#endif
if (m_frameTimer || !shouldAnimate() || frameCount() <= 1)
return;