This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing 3 changed files with 56 additions and 3 deletions.