summaryrefslogtreecommitdiffstats
path: root/Source/WebCore
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-08-31 15:06:47 -0700
committerNicolas Roard <nicolasroard@google.com>2011-08-31 15:12:56 -0700
commitb6b02e9acdbe69eeecb5416f6019f80f8a443350 (patch)
tree2388d115591dd6d67264fad9da785ec9d8be481f /Source/WebCore
parent4ebde1543c4961030c9adaaae41db8134baff88f (diff)
downloadexternal_webkit-b6b02e9acdbe69eeecb5416f6019f80f8a443350.zip
external_webkit-b6b02e9acdbe69eeecb5416f6019f80f8a443350.tar.gz
external_webkit-b6b02e9acdbe69eeecb5416f6019f80f8a443350.tar.bz2
Disable UI-side animations for now, and let webkit deal with them.
Webkit communication/updates are now fast enough that it's not really an issue, and this fixes a few annoying bugs. bug:4104067 Change-Id: I5994f37de488bb5df1cd06523ed4f0c8cc8a2027
Diffstat (limited to 'Source/WebCore')
-rw-r--r--Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
index aa30035..40d25e4 100644
--- a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
@@ -693,6 +693,13 @@ bool GraphicsLayerAndroid::addAnimation(const KeyframeValueList& valueList,
const String& keyframesName,
double beginTime)
{
+ // For now, let webkit deals with the animations -- the current UI-side
+ // animation code has some annoying bugs, and we improved communication
+ // between webkit and UI enough that performance-wise it's not so much
+ // a problem to let webkit do everything.
+ // TODO: re-enable UI-side animations
+ return false;
+
if (!anim || anim->isEmptyOrZeroDuration() || valueList.size() < 2)
return false;