diff options
Diffstat (limited to 'WebCore/platform/graphics')
-rw-r--r-- | WebCore/platform/graphics/android/LayerAndroid.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/LayerAndroid.cpp b/WebCore/platform/graphics/android/LayerAndroid.cpp index 098ef53..853662f 100644 --- a/WebCore/platform/graphics/android/LayerAndroid.cpp +++ b/WebCore/platform/graphics/android/LayerAndroid.cpp @@ -482,7 +482,9 @@ void LayerAndroid::updateGLPositions(const TransformationMatrix& parentMatrix, float centerOffsetY = (0.5f - anchorPoint.y()) * layerSize.height(); float originX = anchorPoint.x() * layerSize.width(); float originY = anchorPoint.y() * layerSize.height(); - TransformationMatrix localMatrix = parentMatrix; + TransformationMatrix localMatrix; + if (!m_isFixed) + localMatrix = parentMatrix; localMatrix.translate3d(originX + position.x(), originY + position.y(), anchorPointZ()); |