summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2012-05-29 15:38:44 -0700
committerNicolas Roard <nicolasroard@google.com>2012-05-29 15:40:18 -0700
commit86c18a99738c3f0c6afd5a4949be274f7d7522fd (patch)
tree50332133519d45155d92eebdf7a8979dbce3e32b /Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
parentbc9eaa14e2e64f58d9b23bb4909870d185b4246e (diff)
downloadexternal_webkit-86c18a99738c3f0c6afd5a4949be274f7d7522fd.zip
external_webkit-86c18a99738c3f0c6afd5a4949be274f7d7522fd.tar.gz
external_webkit-86c18a99738c3f0c6afd5a4949be274f7d7522fd.tar.bz2
Fix for wrong positioning
bug:6560078 Change-Id: I1ef7b3e6398f1cb9a80027a6917d9a557deb8c6f
Diffstat (limited to 'Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp')
-rw-r--r--Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
index e34125c..779dba5 100644
--- a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp
@@ -274,7 +274,7 @@ void GraphicsLayerAndroid::updatePositionedLayers()
SkRect viewRect;
viewRect.set(paintingOffsetX, paintingOffsetY, paintingOffsetX + w, paintingOffsetY + h);
- IntPoint renderLayerPos(renderLayer->x(), renderLayer->y());
+ IntPoint renderLayerPos(position().x(), position().y());
FixedPositioning* fixedPosition = m_contentLayer->fixedPosition();
if (!fixedPosition) {