Index: bench/PathBench.cpp |
diff --git a/bench/PathBench.cpp b/bench/PathBench.cpp |
index a429e2f9728ee001918aa98886754c756b163993..710179a437107053db05f1baef58c13e35bf7f2b 100644 |
--- a/bench/PathBench.cpp |
+++ b/bench/PathBench.cpp |
@@ -57,8 +57,7 @@ protected: |
SkPath path; |
this->makePath(&path); |
if (fFlags & kBig_Flag) { |
- SkMatrix m; |
- m.setScale(SkIntToScalar(10), SkIntToScalar(10)); |
+ const SkMatrix m = SkMatrix::MakeScale(SkIntToScalar(10), SkIntToScalar(10)); |
path.transform(m); |
} |