diff options
author | Nicolas Roard <nicolasroard@google.com> | 2012-05-29 15:38:44 -0700 |
---|---|---|
committer | Nicolas Roard <nicolasroard@google.com> | 2012-05-29 15:40:18 -0700 |
commit | 86c18a99738c3f0c6afd5a4949be274f7d7522fd (patch) | |
tree | 50332133519d45155d92eebdf7a8979dbce3e32b | |
parent | bc9eaa14e2e64f58d9b23bb4909870d185b4246e (diff) | |
download | external_webkit-86c18a99738c3f0c6afd5a4949be274f7d7522fd.zip external_webkit-86c18a99738c3f0c6afd5a4949be274f7d7522fd.tar.gz external_webkit-86c18a99738c3f0c6afd5a4949be274f7d7522fd.tar.bz2 |
Fix for wrong positioning
bug:6560078
Change-Id: I1ef7b3e6398f1cb9a80027a6917d9a557deb8c6f
-rw-r--r-- | Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp | 2 |
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) { |