Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1116)

Unified Diff: Source/core/layout/svg/SVGLayoutTreeAsText.cpp

Issue 1043643002: Switch line layout to LayoutUnit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More TestExpectations tweaks Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/svg/LayoutSVGInlineText.cpp ('k') | Source/core/layout/svg/line/SVGInlineFlowBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())));
// 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)";
« no previous file with comments | « Source/core/layout/svg/LayoutSVGInlineText.cpp ('k') | Source/core/layout/svg/line/SVGInlineFlowBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698