[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e
simon.fraser at apple.com
simon.fraser at apple.com
Fri Jan 21 14:52:49 UTC 2011
The following commit has been merged in the debian/experimental branch:
commit 4231bbecb783cc938299d22b2c0d43f8940af464
Author: simon.fraser at apple.com <simon.fraser at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Jan 3 19:57:45 2011 +0000
2011-01-03 Simon Fraser <simon.fraser at apple.com>
Fix warning in 32-bit builds.
* css/CSSGradientValue.cpp:
(WebCore::CSSLinearGradientValue::createGradient):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index b4db4fa..610fd6e 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-03 Simon Fraser <simon.fraser at apple.com>
+
+ Fix warning in 32-bit builds.
+
+ * css/CSSGradientValue.cpp:
+ (WebCore::CSSLinearGradientValue::createGradient):
+
2011-01-03 Benjamin C Meyer <bmeyer at rim.com>
Reviewed by Daniel Bates.
diff --git a/WebCore/css/CSSGradientValue.cpp b/WebCore/css/CSSGradientValue.cpp
index ad0e490..7771acc 100644
--- a/WebCore/css/CSSGradientValue.cpp
+++ b/WebCore/css/CSSGradientValue.cpp
@@ -440,7 +440,7 @@ PassRefPtr<Gradient> CSSLinearGradientValue::createGradient(RenderObject* render
FloatPoint firstPoint;
FloatPoint secondPoint;
if (m_angle) {
- float angle = m_angle->getDoubleValue(CSSPrimitiveValue::CSS_DEG);
+ float angle = m_angle->getFloatValue(CSSPrimitiveValue::CSS_DEG);
endPointsFromAngle(angle, size, firstPoint, secondPoint);
} else {
firstPoint = computeEndPoint(m_firstX.get(), m_firstY.get(), renderer->style(), rootStyle, size);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list