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

Unified Diff: Source/core/layout/svg/line/SVGInlineFlowBox.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/line/SVGInlineFlowBox.h ('k') | Source/core/layout/svg/line/SVGInlineTextBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/line/SVGInlineFlowBox.cpp
diff --git a/Source/core/layout/svg/line/SVGInlineFlowBox.cpp b/Source/core/layout/svg/line/SVGInlineFlowBox.cpp
index e3a3ab49c6f81367d3211726af97e0cbf8b0dbe1..d1b04b3960404a221be58e055ae3fb865a0729b4 100644
--- a/Source/core/layout/svg/line/SVGInlineFlowBox.cpp
+++ b/Source/core/layout/svg/line/SVGInlineFlowBox.cpp
@@ -33,9 +33,9 @@ void SVGInlineFlowBox::paint(const PaintInfo& paintInfo, const LayoutPoint& pain
SVGInlineFlowBoxPainter(*this).paint(paintInfo, paintOffset);
}
-FloatRectWillBeLayoutRect SVGInlineFlowBox::calculateBoundaries() const
+LayoutRect SVGInlineFlowBox::calculateBoundaries() const
{
- FloatRectWillBeLayoutRect childRect;
+ LayoutRect childRect;
for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) {
if (!child->isSVGInlineTextBox() && !child->isSVGInlineFlowBox())
continue;
« no previous file with comments | « Source/core/layout/svg/line/SVGInlineFlowBox.h ('k') | Source/core/layout/svg/line/SVGInlineTextBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698