summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-04-07 11:20:26 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-07 11:20:26 -0700
commit18fc0da04d6b91cb211517108c1997dd359528a9 (patch)
tree2db43507b8de10935dbf8b2f7defaec5e4aa9b86 /WebCore/platform
parentf4624395f10bf72eae12ad015bc1663f0e44cbd8 (diff)
parent0c7363393334265c29401d7f6967347ce7e7f1ae (diff)
downloadexternal_webkit-18fc0da04d6b91cb211517108c1997dd359528a9.zip
external_webkit-18fc0da04d6b91cb211517108c1997dd359528a9.tar.gz
external_webkit-18fc0da04d6b91cb211517108c1997dd359528a9.tar.bz2
am 0c736339: Only allow animations computed on the UI if we have two steps -- otherwise let webkit do it.
Merge commit '0c7363393334265c29401d7f6967347ce7e7f1ae' into froyo-plus-aosp * commit '0c7363393334265c29401d7f6967347ce7e7f1ae': 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;