Bug 138047 - Replace INT_MIN/MAX / kFixedPointDenominator with intMin/MaxForLayoutUnit.
Summary: Replace INT_MIN/MAX / kFixedPointDenominator with intMin/MaxForLayoutUnit.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-24 11:02 PDT by zalan
Modified: 2014-10-24 14:00 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.62 KB, patch)
2014-10-24 11:04 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2014-10-24 11:02:55 PDT
-const int maxValueForCssLength = INT_MAX / kFixedPointDenominator - 2;
-const int minValueForCssLength = INT_MIN / kFixedPointDenominator + 2;
+const int maxValueForCssLength = intMaxForLayoutUnit - 2;
+const int minValueForCssLength = intMinForLayoutUnit + 2;
Comment 1 zalan 2014-10-24 11:04:47 PDT
Created attachment 240415 [details]
Patch
Comment 2 WebKit Commit Bot 2014-10-24 14:00:01 PDT
Comment on attachment 240415 [details]
Patch

Clearing flags on attachment: 240415

Committed r175177: <http://trac.webkit.org/changeset/175177>
Comment 3 WebKit Commit Bot 2014-10-24 14:00:04 PDT
All reviewed patches have been landed.  Closing bug.