Index: gm/megalooper.cpp |
diff --git a/gm/megalooper.cpp b/gm/megalooper.cpp |
index 6f071cb72c2094883ba048bbfb0a82bd31bb2dbf..86dd617f444c06389b341d2d198411e6f7c08edf 100644 |
--- a/gm/megalooper.cpp |
+++ b/gm/megalooper.cpp |
@@ -91,8 +91,8 @@ private: |
outerClip.offset(x, y); |
canvas->save(); |
- canvas->clipRect(outerClip, SkRegion::kIntersect_Op); |
- canvas->clipRect(innerClip, SkRegion::kDifference_Op); |
+ canvas->clipRect(outerClip, SkCanvas::kIntersect_Op); |
+ canvas->clipRect(innerClip, SkCanvas::kDifference_Op); |
SkPaint paint; |
paint.setAntiAlias(true); |
@@ -146,8 +146,8 @@ private: |
rect.offset(x, y); |
canvas->save(); |
- canvas->clipRect(outerClip, SkRegion::kIntersect_Op); |
- canvas->clipRect(rect, SkRegion::kDifference_Op); |
+ canvas->clipRect(outerClip, SkCanvas::kIntersect_Op); |
+ canvas->clipRect(rect, SkCanvas::kDifference_Op); |
// move the rect to where we want the blur to appear |
rect.offset(gBlurOffsets[i]); |
@@ -195,8 +195,8 @@ private: |
paint.setLooper(create4Looper(-kOffsetToOutsideClip-kHalfSquareSize, 0)); |
canvas->save(); |
- canvas->clipRect(outerClip, SkRegion::kIntersect_Op); |
- canvas->clipRect(rect, SkRegion::kDifference_Op); |
+ canvas->clipRect(outerClip, SkCanvas::kIntersect_Op); |
+ canvas->clipRect(rect, SkCanvas::kDifference_Op); |
rect.offset(SkIntToScalar(kOffsetToOutsideClip+kHalfSquareSize), 0); |
canvas->drawRect(rect, paint); |