Index: gm/clip_strokerect.cpp |
diff --git a/gm/clip_strokerect.cpp b/gm/clip_strokerect.cpp |
index 814455d1454ee15c4d811460b7a0a54f69cba59d..34adf8a1cf941a2275fa769b20d3597ab2436fa7 100644 |
--- a/gm/clip_strokerect.cpp |
+++ b/gm/clip_strokerect.cpp |
@@ -36,7 +36,7 @@ protected: |
SkRect rect = SkRect::MakeXYWH(20, 0, 100, 20); |
canvas->save(); |
- canvas->clipRect(rect, SkCanvas::kReplace_Op, true); |
+ canvas->clipRect(rect, true); |
canvas->drawRect(r, p); |
canvas->restore(); |
@@ -54,7 +54,7 @@ protected: |
SkRect rect2 = SkRect::MakeXYWH(20, 120, 100, 19); |
canvas->save(); |
- canvas->clipRect(rect2, SkCanvas::kReplace_Op, true); |
+ canvas->clipRect(rect2, true); |
canvas->drawRect(r2, p); |
canvas->restore(); |