diff options
Diffstat (limited to 'gm/scaledstrokes.cpp')
-rw-r--r-- | gm/scaledstrokes.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gm/scaledstrokes.cpp b/gm/scaledstrokes.cpp index 1ee2350236..1096fcb1de 100644 --- a/gm/scaledstrokes.cpp +++ b/gm/scaledstrokes.cpp @@ -43,7 +43,6 @@ protected: const SkScalar size = 60.0f; for (int i = 0; i < 2; i++) { paint.setAntiAlias(i == 1); - canvas->save(); for (int j = 0; j < 4; j++) { SkScalar scale = 4.0f - j; paint.setStrokeWidth(4.0f / scale); @@ -73,7 +72,6 @@ protected: canvas->translate(80.0f, 0.0f); } - canvas->restore(); } } |