summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-04-07 11:31:50 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-07 11:31:50 -0700
commit9010bbc57dfd097175436f7e00bbbaffbe2fa9d6 (patch)
treefff6c646f0e0fa9d4bc3884a2ddb441e0ba1fd8d /WebCore/platform
parent747cc3da3d4e9d55c6f3022bf445cb0803342f2f (diff)
parent18fc0da04d6b91cb211517108c1997dd359528a9 (diff)
downloadexternal_webkit-9010bbc57dfd097175436f7e00bbbaffbe2fa9d6.zip
external_webkit-9010bbc57dfd097175436f7e00bbbaffbe2fa9d6.tar.gz
external_webkit-9010bbc57dfd097175436f7e00bbbaffbe2fa9d6.tar.bz2
am 18fc0da0: am 0c736339: Only allow animations computed on the UI if we have two steps -- otherwise let webkit do it.
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
index fa4a180..b8a3610 100644
--- a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
+++ b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
@@ -535,7 +535,7 @@ bool GraphicsLayerAndroid::addAnimation(const KeyframeValueList& valueList,
const String& keyframesName,
double beginTime)
{
- if (!anim || anim->isEmptyOrZeroDuration() || valueList.size() < 2)
+ if (!anim || anim->isEmptyOrZeroDuration() || valueList.size() != 2)
return false;
bool createdAnimations = false;