Index: gm/complexclip2.cpp |
diff --git a/gm/complexclip2.cpp b/gm/complexclip2.cpp |
index 2994e689eb430e24b9c6f7a7b26ed899fada7776..3180f6681acb22baaed35e3248a915e60a4995fe 100644 |
--- a/gm/complexclip2.cpp |
+++ b/gm/complexclip2.cpp |
@@ -83,13 +83,13 @@ protected: |
fPaths[4].addRoundRect(fRects[4], 5, 5); |
fRectColors[4] = SK_ColorCYAN; |
- SkRegion::Op ops[] = { |
- SkRegion::kDifference_Op, |
- SkRegion::kIntersect_Op, |
- SkRegion::kUnion_Op, |
- SkRegion::kXOR_Op, |
- SkRegion::kReverseDifference_Op, |
- SkRegion::kReplace_Op, |
+ SkCanvas::ClipOp ops[] = { |
+ SkCanvas::kDifference_Op, |
+ SkCanvas::kIntersect_Op, |
+ SkCanvas::kUnion_Op, |
+ SkCanvas::kXOR_Op, |
+ SkCanvas::kReverseDifference_Op, |
+ SkCanvas::kReplace_Op, |
}; |
SkRandom r; |
@@ -200,7 +200,7 @@ private: |
SkRRect fRRects[5]; |
SkPath fPaths[5]; |
SkColor fRectColors[5]; |
- SkRegion::Op fOps[kRows * kCols][5]; |
+ SkCanvas::ClipOp fOps[kRows * kCols][5]; |
SkScalar fWidth; |
SkScalar fHeight; |
SkScalar fTotalWidth; |