| 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 dc9ce84caf51890504915a11995412655fbe20ad..fe9541f71d65a99e69b410da692d48126567bf1d 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
| @@ -108,14 +108,10 @@ LayoutRect SVGRootInlineBox::layoutInlineBoxes(InlineBox& box) {
|
|
|
| void SVGRootInlineBox::adjustInlineBoxesToBlockSpace(InlineBox& box) {
|
| LineLayoutBlockFlow parentBlock = block();
|
| - LayoutRect rect(box.topLeft(), box.size());
|
| - // In layoutChildBoxes(), the box was laid out in physical SVG coordinates.
|
| - rect.moveBy(-parentBlock.location());
|
| - // Convert physical coordinates into "physical coordinates in flipped block
|
| - // direction".
|
| - parentBlock.flipForWritingMode(rect);
|
| - box.setX(rect.x());
|
| - box.setY(rect.y());
|
| + LayoutPoint location = box.topLeft();
|
| + location.moveBy(-parentBlock.location());
|
| + box.setX(location.x());
|
| + box.setY(location.y());
|
|
|
| if (!box.isInlineFlowBox())
|
| return;
|
|
|