Index: include/core/SkScalar.h |
diff --git a/include/core/SkScalar.h b/include/core/SkScalar.h |
index 4e0d91b2b7ac995675fca46eed05a89959f885a2..b9256badb4c02b6524ab075e39310e52fb118ebf 100644 |
--- a/include/core/SkScalar.h |
+++ b/include/core/SkScalar.h |
@@ -202,7 +202,7 @@ static inline bool SkScalarNearlyEqual(SkScalar x, SkScalar y, |
*/ |
static inline SkScalar SkScalarInterp(SkScalar A, SkScalar B, SkScalar t) { |
SkASSERT(t >= 0 && t <= SK_Scalar1); |
- return A + SkScalarMul(B - A, t); |
+ return A + (B - A) * t; |
} |
/** Interpolate along the function described by (keys[length], values[length]) |