aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/simpleaaclip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/simpleaaclip.cpp')
-rw-r--r--gm/simpleaaclip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/simpleaaclip.cpp b/gm/simpleaaclip.cpp
index 87dc6877ef..9a8fe61eaa 100644
--- a/gm/simpleaaclip.cpp
+++ b/gm/simpleaaclip.cpp
@@ -106,11 +106,11 @@ protected:
// create the clip mask with the supplied boolean op
if (kPath_GeomType == fGeomType) {
// path-based case
- canvas->clipPath(fBasePath, SkCanvas::kReplace_Op, true);
+ canvas->clipPath(fBasePath, true);
canvas->clipPath(fRectPath, op, true);
} else {
// rect-based case
- canvas->clipRect(fBase, SkCanvas::kReplace_Op, true);
+ canvas->clipRect(fBase, true);
canvas->clipRect(fRect, op, true);
}