aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/complexclip3.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/complexclip3.cpp
parentdf55827ae6291e44d4da54bdcbb8505538b3c54d (diff)
allow clip calls w/o op param, remove unnecessary kReplace ops
Diffstat (limited to 'gm/complexclip3.cpp')
-rw-r--r--gm/complexclip3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/complexclip3.cpp b/gm/complexclip3.cpp
index fd8cd35100..59c78ec5a3 100644
--- a/gm/complexclip3.cpp
+++ b/gm/complexclip3.cpp
@@ -84,7 +84,7 @@ protected:
SkPath::kEvenOdd_FillType);
secondClip->setFillType(doInvB ? SkPath::kInverseEvenOdd_FillType :
SkPath::kEvenOdd_FillType);
- canvas->clipPath(*firstClip, SkCanvas::kIntersect_Op, doAAA);
+ canvas->clipPath(*firstClip, doAAA);
canvas->clipPath(*secondClip, gOps[op].fOp, doAAB);
// draw rect clipped