summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/AndroidAnimation.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-02-11 17:40:33 +0000
committerNicolas Roard <nicolas@android.com>2010-02-11 17:48:07 +0000
commitba1ed26a6f245f68ba76318d7ec9451fb0886922 (patch)
tree6556a773f073d0979b1ea2f9cb739f68ca414a70 /WebCore/platform/graphics/android/AndroidAnimation.cpp
parente8ae13df7065e0f00876ae8edc7e67a2483068a7 (diff)
downloadexternal_webkit-ba1ed26a6f245f68ba76318d7ec9451fb0886922.zip
external_webkit-ba1ed26a6f245f68ba76318d7ec9451fb0886922.tar.gz
external_webkit-ba1ed26a6f245f68ba76318d7ec9451fb0886922.tar.bz2
Layers refactoring
Diffstat (limited to 'WebCore/platform/graphics/android/AndroidAnimation.cpp')
-rw-r--r--WebCore/platform/graphics/android/AndroidAnimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/AndroidAnimation.cpp b/WebCore/platform/graphics/android/AndroidAnimation.cpp
index 5ea8d2a..ca1acbe 100644
--- a/WebCore/platform/graphics/android/AndroidAnimation.cpp
+++ b/WebCore/platform/graphics/android/AndroidAnimation.cpp
@@ -33,10 +33,10 @@ namespace WebCore {
void AndroidTransformAnimationValue::apply()
{
if (m_doTranslation)
- m_layer->setTranslation(m_translation);
+ m_layer->setTranslation(m_translation.x(), m_translation.y());
if (m_doScaling)
- m_layer->setScale(m_scale);
+ m_layer->setScale(m_scale.x(), m_scale.y());
if (m_doRotation)
m_layer->setRotation(m_rotation);