| Index: third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp b/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
| index fe9541f71d65a99e69b410da692d48126567bf1d..e509869c521a73e32f13ff1e343cbe93bc3e2a91 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
| @@ -108,7 +108,7 @@ LayoutRect SVGRootInlineBox::layoutInlineBoxes(InlineBox& box) {
|
|
|
| void SVGRootInlineBox::adjustInlineBoxesToBlockSpace(InlineBox& box) {
|
| LineLayoutBlockFlow parentBlock = block();
|
| - LayoutPoint location = box.topLeft();
|
| + LayoutPoint location = box.location();
|
| location.moveBy(-parentBlock.location());
|
| box.setX(location.x());
|
| box.setY(location.y());
|
| @@ -139,7 +139,7 @@ InlineBox* SVGRootInlineBox::closestLeafChildForPosition(
|
| continue;
|
|
|
| closestLeaf = leaf;
|
| - if (point.x() < leaf->left() + leaf->logicalWidth())
|
| + if (point.x() < leaf->x() + leaf->logicalWidth())
|
| return leaf;
|
| }
|
|
|
|
|