Skip to content

Commit

Permalink
Fix build bustage on android.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
David Hyatt committed Aug 24, 2012
1 parent c1550b9 commit 3c3b746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebCore/rendering/RenderMultiColumnSet.cpp
Expand Up @@ -76,7 +76,7 @@ unsigned RenderMultiColumnSet::columnCount() const

// Our region rect determines our column count. We have as many columns as needed to fit all the content.
LayoutUnit logicalHeightInColumns = flowThread()->isHorizontalWritingMode() ? regionRect().height() : regionRect().width();
return ceil(logicalHeightInColumns / computedColumnHeight());
return ceil(static_cast<float>(logicalHeightInColumns) / computedColumnHeight());
}

LayoutRect RenderMultiColumnSet::columnRectAt(unsigned index) const
Expand Down

0 comments on commit 3c3b746

Please sign in to comment.