aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/DashBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/DashBench.cpp')
-rw-r--r--bench/DashBench.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/DashBench.cpp b/bench/DashBench.cpp
index 17a9234926..bf0d456143 100644
--- a/bench/DashBench.cpp
+++ b/bench/DashBench.cpp
@@ -153,8 +153,7 @@ static void make_unit_star(SkPath* path, int n) {
static void make_poly(SkPath* path) {
make_unit_star(path, 9);
- SkMatrix matrix;
- matrix.setScale(SkIntToScalar(100), SkIntToScalar(100));
+ const SkMatrix matrix = SkMatrix::MakeScale(SkIntToScalar(100), SkIntToScalar(100));
path->transform(matrix);
}