diff options
author | Nicolas Roard <nicolas@android.com> | 2010-02-11 17:40:33 +0000 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-02-11 17:48:07 +0000 |
commit | ba1ed26a6f245f68ba76318d7ec9451fb0886922 (patch) | |
tree | 6556a773f073d0979b1ea2f9cb739f68ca414a70 /WebCore/platform/graphics/android/AndroidAnimation.cpp | |
parent | e8ae13df7065e0f00876ae8edc7e67a2483068a7 (diff) | |
download | external_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.cpp | 4 |
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); |