Index: gm/rrectclipdrawpaint.cpp |
diff --git a/gm/rrectclipdrawpaint.cpp b/gm/rrectclipdrawpaint.cpp |
index 74b57835c8d41d8b669496f66356a4d40d1a7ed9..c997f845eb551fd6a3af1e38ed6c3b3b87f56761 100644 |
--- a/gm/rrectclipdrawpaint.cpp |
+++ b/gm/rrectclipdrawpaint.cpp |
@@ -21,14 +21,14 @@ DEF_SIMPLE_GM(rrect_clip_draw_paint, canvas, 256, 256) { |
const SkRect layerRect = SkRect::MakeWH(256.f, 256.f); |
canvas->saveLayer(layerRect, nullptr); |
- canvas->clipRRect(rrect, SkCanvas::kIntersect_Op, true); |
+ canvas->clipRRect(rrect, true); |
canvas->drawPaint(p); |
canvas->restore(); |
canvas->concat(zoomOut); |
p.setColor(SK_ColorBLUE); |
canvas->saveLayer(layerRect, nullptr); |
- canvas->clipRRect(rrect, SkCanvas::kIntersect_Op, false); |
+ canvas->clipRRect(rrect, false); |
canvas->drawPaint(p); |
canvas->restore(); |
@@ -38,7 +38,7 @@ DEF_SIMPLE_GM(rrect_clip_draw_paint, canvas, 256, 256) { |
SkShader::kClamp_TileMode)); |
canvas->concat(zoomOut); |
canvas->saveLayer(layerRect, nullptr); |
- canvas->clipRRect(rrect, SkCanvas::kIntersect_Op, true); |
+ canvas->clipRRect(rrect, true); |
canvas->drawPaint(p); |
canvas->restore(); |
@@ -47,7 +47,7 @@ DEF_SIMPLE_GM(rrect_clip_draw_paint, canvas, 256, 256) { |
SkShader::kClamp_TileMode)); |
canvas->concat(zoomOut); |
canvas->saveLayer(layerRect, nullptr); |
- canvas->clipRRect(rrect, SkCanvas::kIntersect_Op, false); |
+ canvas->clipRRect(rrect, false); |
canvas->drawPaint(p); |
canvas->restore(); |
} |