diff options
author | robertphillips <robertphillips@google.com> | 2016-04-08 14:03:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-08 14:03:00 -0700 |
commit | 23d2c18cb14091b600e9786c1c853fa3f5b773a4 (patch) | |
tree | 8e69c94139ce9ffbc4c097e8b78f450769426173 /gm/scaledstrokes.cpp | |
parent | 651bb5fafe1edd723425dffd478dfa67b113da73 (diff) |
Fix scaledstrokes GM
Small fix to https://codereview.chromium.org/1873733003 (More cleanup in the Vulkan viewer)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1875793002
Review URL: https://codereview.chromium.org/1875793002
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(); } } |