| Index: sky/engine/core/rendering/RenderLayer.cpp
|
| diff --git a/sky/engine/core/rendering/RenderLayer.cpp b/sky/engine/core/rendering/RenderLayer.cpp
|
| index 044a03a3069ecd9616398418a8429a3964585538..1b896c4fa5ef8c5374224b289daa06f166c9eb8f 100644
|
| --- a/sky/engine/core/rendering/RenderLayer.cpp
|
| +++ b/sky/engine/core/rendering/RenderLayer.cpp
|
| @@ -486,7 +486,7 @@ LayoutPoint RenderLayer::location() const
|
| inlineBoundingBoxOffset = toSize(lineBox.location());
|
| localPoint += inlineBoundingBoxOffset;
|
| } else if (RenderBox* box = renderBox()) {
|
| - localPoint += box->topLeftLocationOffset();
|
| + localPoint += box->locationOffset();
|
| }
|
|
|
| if (!renderer()->isOutOfFlowPositioned() && renderer()->parent()) {
|
| @@ -497,7 +497,7 @@ LayoutPoint RenderLayer::location() const
|
| if (curr->isBox()) {
|
| // Rows and cells share the same coordinate space (that of the section).
|
| // Omit them when computing our xpos/ypos.
|
| - localPoint += toRenderBox(curr)->topLeftLocationOffset();
|
| + localPoint += toRenderBox(curr)->locationOffset();
|
| }
|
| curr = curr->parent();
|
| }
|
|
|