Index: third_party/WebKit/Source/core/layout/ColumnBalancer.h |
diff --git a/third_party/WebKit/Source/core/layout/ColumnBalancer.h b/third_party/WebKit/Source/core/layout/ColumnBalancer.h |
index e559e05a4028d6c9e98489e128e02412e8cde9b6..a207a50532613f0ecec84d00bdc6d30cb2aa3a2d 100644 |
--- a/third_party/WebKit/Source/core/layout/ColumnBalancer.h |
+++ b/third_party/WebKit/Source/core/layout/ColumnBalancer.h |
@@ -140,8 +140,7 @@ private: |
// breaks assumed so far. |
LayoutUnit columnLogicalHeight(LayoutUnit startOffset) const |
{ |
- // TODO(leviw): This should probably be fromFloatCeil. |
- return LayoutUnit(ceilf((m_breakOffset - startOffset) / float(m_assumedImplicitBreaks + 1))); |
+ return LayoutUnit::fromFloatCeil(float(m_breakOffset - startOffset) / float(m_assumedImplicitBreaks + 1)); |
} |
private: |