[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
rniwa at webkit.org
rniwa at webkit.org
Wed Dec 22 14:50:56 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 3f4b0a6d61c6fb89bc7e32147ab88fc89c0f3d75
Author: rniwa at webkit.org <rniwa at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Oct 22 01:03:52 2010 +0000
Unreviewed Leopard build fix attempt.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 759c38e..a0ee039 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,12 @@
+2010-10-21 Ryosuke Niwa <rniwa at webkit.org>
+
+ Unreviewed Leopard build fix attempt.
+
+ Explicitly cast the return value of deg2rad to float.
+
+ * rendering/InlineTextBox.cpp:
+ (WebCore::InlineTextBox::paint):
+
2010-10-21 Mihai Parparita <mihaip at chromium.org>
Reviewed by James Robinson.
diff --git a/WebCore/rendering/InlineTextBox.cpp b/WebCore/rendering/InlineTextBox.cpp
index 2290481..1d2528f 100644
--- a/WebCore/rendering/InlineTextBox.cpp
+++ b/WebCore/rendering/InlineTextBox.cpp
@@ -430,7 +430,7 @@ void InlineTextBox::paint(PaintInfo& paintInfo, int tx, int ty)
if (m_isVertical) {
context->save();
context->translate(textOrigin.x(), textOrigin.y());
- context->rotate(deg2rad(90.));
+ context->rotate(static_cast<float>(deg2rad(90.)));
context->translate(-textOrigin.x(), -textOrigin.y());
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list