Index: gm/distantclip.cpp |
diff --git a/gm/distantclip.cpp b/gm/distantclip.cpp |
index 07594e788ad674c4b8e8d1a16ec6cf7ac7470bd1..f4931ddc2707504a1c944527f8c9ca28e7e54ba6 100644 |
--- a/gm/distantclip.cpp |
+++ b/gm/distantclip.cpp |
@@ -39,7 +39,7 @@ protected: |
SkRect r = SkRect::MakeXYWH(-kExtents, kOffset - kExtents, 2 * kExtents, 2 * kExtents); |
SkPath p; |
p.addRoundRect(r, 5, 5); |
- rec->clipPath(p, SkRegion::kIntersect_Op, true); |
+ rec->clipPath(p, SkCanvas::kIntersect_Op, true); |
rec->drawColor(SK_ColorGREEN); |
rec->restore(); |
sk_sp<SkPicture> pict(recorder.finishRecordingAsPicture()); |