Changeset 63976 in webkit
- Timestamp:
- Jul 23, 2010 8:30:30 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r63975 r63976 1 2010-07-23 Patrick Gansterer <paroga@paroga.com> 2 3 Reviewed by Adam Roben. 4 5 Buildfix for WinCE graphics after r56015. 6 https://bugs.webkit.org/show_bug.cgi?id=41354 7 8 Use fabs() insetead of abs(). 9 10 * platform/graphics/wince/GraphicsContextWince.cpp: 11 (WebCore::GraphicsContext::fillRect): 12 * platform/graphics/wince/PlatformPathWince.cpp: 13 (WebCore::PlatformPath::addArcTo): 14 1 15 2010-07-23 ryuan choi <ryuan.choi@samsung.com> 2 16 -
trunk/WebCore/platform/graphics/wince/GraphicsContextWince.cpp
r63864 r63976 1514 1514 int height = rect.height(); 1515 1515 FloatSize d = gradient->p1() - gradient->p0(); 1516 bool vertical = abs(d.height()) >abs(d.width());1516 bool vertical = fabs(d.height()) > fabs(d.width()); 1517 1517 for (size_t i = 0; i < numStops; ++i) { 1518 1518 const Gradient::ColorStop& stop = stops[i]; -
trunk/WebCore/platform/graphics/wince/PlatformPathWince.cpp
r54503 r63976 672 672 double d01 = v01.length(); 673 673 double d21 = v21.length(); 674 double angle = (piDouble - abs(asin(cross / (d01 * d21)))) * 0.5;674 double angle = (piDouble - fabs(asin(cross / (d01 * d21)))) * 0.5; 675 675 double span = radius * tan(angle); 676 676 double rate = span / d01;
Note: See TracChangeset
for help on using the changeset viewer.