| 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 d1f1b59848fb09c0bbfc2b4ededbd253366982fc..5a4882f3de788877f2768e5d7d5bfb95d9c0e3e2 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
| @@ -119,11 +119,11 @@ void SVGRootInlineBox::layoutRootBox(const LayoutRect& childRect)
|
| }
|
|
|
| // Position ourselves.
|
| - setX(0);
|
| - setY(0);
|
| + setX(LayoutUnit());
|
| + setY(LayoutUnit());
|
| setLogicalWidth(childRect.width());
|
| setLogicalHeight(childRect.height());
|
| - setLineTopBottomPositions(0, boundingRect.height(), 0, boundingRect.height());
|
| + setLineTopBottomPositions(LayoutUnit(), boundingRect.height(), LayoutUnit(), boundingRect.height());
|
| }
|
|
|
| InlineBox* SVGRootInlineBox::closestLeafChildForPosition(const LayoutPoint& point)
|
|
|