Index: third_party/WebKit/Source/core/layout/line/LineWidth.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/LineWidth.cpp b/third_party/WebKit/Source/core/layout/line/LineWidth.cpp |
index ce039c944ea3d090f84cd15c4e2b345d5a671c92..c69d9e493406a3d82dfb41b85c40ebaf4d94feef 100644 |
--- a/third_party/WebKit/Source/core/layout/line/LineWidth.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/LineWidth.cpp |
@@ -157,7 +157,7 @@ void LineWidth::wrapNextToShapeOutside(bool isFirstLine) |
newLineTop++; |
} |
- updateLineDimension(newLineTop, newLineWidth, newLineLeft, newLineRight); |
+ updateLineDimension(newLineTop, LayoutUnit(newLineWidth), newLineLeft, newLineRight); |
} |
void LineWidth::fitBelowFloats(bool isFirstLine) |
@@ -187,7 +187,7 @@ void LineWidth::fitBelowFloats(bool isFirstLine) |
if (newLineWidth >= m_uncommittedWidth) |
break; |
} |
- updateLineDimension(lastFloatLogicalBottom, newLineWidth, newLineLeft, newLineRight); |
+ updateLineDimension(lastFloatLogicalBottom, LayoutUnit(newLineWidth), newLineLeft, newLineRight); |
} |
void LineWidth::computeAvailableWidthFromLeftAndRight() |