|
|
|
Created:
16 years, 4 months ago by Stephen White Modified:
16 years, 4 months ago Reviewers:
reed Base URL:
http://skia.googlecode.com/svn/trunk/ Visibility:
Public. |
Because this code is called with 14.18 fixed point values during antialiasing, using "valuea - valueb" as a comparison causes integer overflows for moderate values of valuea and valueb of opposite sign (eg., valuea = 8000.0f, valueb = -8000.0f).
See http://crbug.com/18896, layout test LayoutTests/svg/carto.net/window.svg.
Patch Set 1 #
Total messages: 1
|
Stephen White
|
16 years, 4 months ago (2009年08月24日 22:21:41 UTC) #1 | |||||||||||||