Only allow animations computed on the UI if we have two steps -- otherwise let webkit do it.

Bug:2576137
Change-Id: Ib86814f5edaff518df9d30839098ac3e8633341e
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 @@
                                         const String& keyframesName,
                                         double beginTime)
 {
-    if (!anim || anim->isEmptyOrZeroDuration() || valueList.size() < 2)
+    if (!anim || anim->isEmptyOrZeroDuration() || valueList.size() != 2)
     return false;
 
     bool createdAnimations = false;