aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/samplerstress.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-09-21 11:15:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-21 11:15:07 -0700
commit669983856d99b9312be3166b7dd1f8483a90c315 (patch)
treea0a65286af33fae8a77e0d5e8a06f064bb656575 /gm/samplerstress.cpp
parentdf55827ae6291e44d4da54bdcbb8505538b3c54d (diff)
allow clip calls w/o op param, remove unnecessary kReplace ops
Diffstat (limited to 'gm/samplerstress.cpp')
-rw-r--r--gm/samplerstress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp
index 83916bc986..e36e621fdc 100644
--- a/gm/samplerstress.cpp
+++ b/gm/samplerstress.cpp
@@ -108,7 +108,7 @@ protected:
SkPath path;
path.addRoundRect(temp, SkIntToScalar(5), SkIntToScalar(5));
- canvas->clipPath(path, SkCanvas::kReplace_Op, true); // AA is on
+ canvas->clipPath(path, true); // AA is on
canvas->drawText("M", 1,
SkIntToScalar(100), SkIntToScalar(100),