Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
FractionalLayoutUnit minor math bugs
https://bugs.webkit.org/show_bug.cgi?id=86065 Reviewed by Levi Weintraub. Implement a consistent set of subject modifying operators, to ensure operations that need to be in float are performed in float. Scale FractionalLayoutSize in FractionalLayoutUnits instead of intergers. No new functionality. No new tests. * platform/FractionalLayoutUnit.h: (WebCore::operator-=): (WebCore::operator*=): (WebCore::operator/=): * platform/graphics/FractionalLayoutSize.h: (WebCore::FractionalLayoutSize::scale): Canonical link: https://commits.webkit.org/110628@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@124253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Allan Sandfeld Jensen
committed
Jul 31, 2012
1 parent
e246cdc
commit fe19e7e
Showing
3 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters