Chromium Code Reviews| Index: Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
| diff --git a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
| index bd9c58ddbb5c705fdc1db735641587c43483f1c8..8eb1b741a43db5467dbdc2ceaf33bab1d94ee428 100644 |
| --- a/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
| +++ b/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
| @@ -385,7 +385,7 @@ static void writeLayoutSVGTextBox(TextStream& ts, const LayoutSVGText& text) |
| if (!box) |
| return; |
| - ts << " " << enclosingIntRect(FloatRect(FloatPoint(text.location()), FloatSize(box->logicalWidth(), box->logicalHeight()))); |
| + ts << " " << enclosingIntRect(LayoutRect(LayoutPoint(text.location()), LayoutSize(box->logicalWidth(), box->logicalHeight()))); |
|
fs
2015/05/27 08:44:54
Nit: text.location() is LayoutPoint.
|
| // FIXME: Remove this hack, once the new text layout engine is completly landed. We want to preserve the old layout test results for now. |
| ts << " contains 1 chunk(s)"; |