diff options
Diffstat (limited to 'WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp')
| -rw-r--r-- | WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp index f518ffb..6901f52 100644 --- a/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp +++ b/WebCore/platform/graphics/android/GraphicsLayerAndroid.cpp @@ -111,9 +111,10 @@ GraphicsLayerAndroid::GraphicsLayerAndroid(GraphicsLayerClient* client) : m_contentLayer->setIsRootLayer(renderLayer->isRootLayer()); RenderView* view = static_cast<RenderView*>(renderLayer->renderer()); if (view->isPositioned() && view->style()->position() == FixedPosition) { - FloatPoint position(view->style()->left().value(), - view->style()->right().value()); - m_contentLayer->setFixedPosition(position); + m_contentLayer->setFixedPosition(view->style()->left(), + view->style()->top(), + view->style()->right(), + view->style()->bottom()); } } gDebugGraphicsLayerAndroidInstances++; |
