summaryrefslogtreecommitdiffstats
path: root/WebKit/android
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-01-25 22:10:44 +0000
committerNicolas Roard <nicolas@android.com>2010-01-26 18:06:08 +0000
commitec745133ebaf0e3ede2d6656a96399f960a95876 (patch)
tree13d085e1a3a5d0495da29923e88d9d16adc5985f /WebKit/android
parentaefef8d800d34d6733c13b05c7cfe214d06b62d8 (diff)
downloadexternal_webkit-ec745133ebaf0e3ede2d6656a96399f960a95876.zip
external_webkit-ec745133ebaf0e3ede2d6656a96399f960a95876.tar.gz
external_webkit-ec745133ebaf0e3ede2d6656a96399f960a95876.tar.bz2
Fix potential crash with layers enabled.
See bug http://b/2395197 We remove the AndroidAnimationTimer class, and use a callback mechanism instead in GraphicsLayerAndroid.
Diffstat (limited to 'WebKit/android')
-rw-r--r--WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
index ffa96f8..9b0e7b4 100644
--- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.cpp
@@ -71,8 +71,10 @@ void ChromeClientAndroid::compositingLayerSync()
frameView->syncCompositingStateRecursive();
GraphicsLayerAndroid* androidGraphicsLayer =
static_cast<GraphicsLayerAndroid*>(m_rootGraphicsLayer);
- if (androidGraphicsLayer)
+ if (androidGraphicsLayer) {
androidGraphicsLayer->sendImmediateRepaint();
+ androidGraphicsLayer->notifyClientAnimationStarted();
+ }
return;
}
}