aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPoint.cpp')
-rw-r--r--src/core/SkPoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPoint.cpp b/src/core/SkPoint.cpp
index 162c62acad..dfa484bb4c 100644
--- a/src/core/SkPoint.cpp
+++ b/src/core/SkPoint.cpp
@@ -62,7 +62,7 @@ void SkPoint::rotateCCW(SkPoint* dst) const {
void SkPoint::scale(SkScalar scale, SkPoint* dst) const {
SkASSERT(dst);
- dst->set(SkScalarMul(fX, scale), SkScalarMul(fY, scale));
+ dst->set(fX * scale, fY * scale);
}
bool SkPoint::normalize() {