Index: gm/pathopsinverse.cpp |
diff --git a/gm/pathopsinverse.cpp b/gm/pathopsinverse.cpp |
index 0c88632d4c6dcd29ec64b1f7e9d79a943e7c9c28..176bc769e24f64211cdd9e758cba8000aeb5bec3 100644 |
--- a/gm/pathopsinverse.cpp |
+++ b/gm/pathopsinverse.cpp |
@@ -75,7 +75,7 @@ protected: |
two.addRect(40, 40, 100, 100); |
canvas->save(); |
canvas->translate(0, SkIntToScalar(yPos)); |
- canvas->clipRect(SkRect::MakeWH(110, 110), SkRegion::kIntersect_Op, true); |
+ canvas->clipRect(SkRect::MakeWH(110, 110), SkCanvas::kIntersect_Op, true); |
canvas->drawPath(one, fOnePaint); |
canvas->drawPath(one, fOutlinePaint); |
canvas->drawPath(two, fTwoPaint); |
@@ -87,7 +87,7 @@ protected: |
Op(one, two, (SkPathOp) op, &result); |
canvas->save(); |
canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); |
- canvas->clipRect(SkRect::MakeWH(110, 110), SkRegion::kIntersect_Op, true); |
+ canvas->clipRect(SkRect::MakeWH(110, 110), SkCanvas::kIntersect_Op, true); |
canvas->drawPath(result, fOpPaint[op]); |
canvas->drawPath(result, fOutlinePaint); |
canvas->restore(); |