Index: Source/platform/graphics/Path.cpp |
diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp |
index cac95274fb9d6aa2fa90f8c8f329158efa4db099..0bfa1c53fbb2cddcd0c232e44666624bd7fa1862 100644 |
--- a/Source/platform/graphics/Path.cpp |
+++ b/Source/platform/graphics/Path.cpp |
@@ -372,7 +372,7 @@ void Path::addEllipse(const FloatPoint& p, float radiusX, float radiusY, float r |
} |
// Add an arc after the relevant transform. |
- AffineTransform ellipseTransform = AffineTransform::translation(p.x(), p.y()).rotate(rad2deg(rotation)); |
+ AffineTransform ellipseTransform = AffineTransform::translation(p.x(), p.y()).rotateRadians(rotation); |
ASSERT(ellipseTransform.isInvertible()); |
AffineTransform inverseEllipseTransform = ellipseTransform.inverse(); |
transform(inverseEllipseTransform); |