Index: gm/aaclip.cpp |
diff --git a/gm/aaclip.cpp b/gm/aaclip.cpp |
index cb8418b6d30842baecfd601aac1e43a35f561404..d6576691ea9e0dee915939efa00fe51479a94670 100644 |
--- a/gm/aaclip.cpp |
+++ b/gm/aaclip.cpp |
@@ -85,7 +85,7 @@ static void draw(SkCanvas* canvas, SkRect& target, int x, int y) { |
canvas->drawRect(target, borderPaint); |
target.inset(SkIntToScalar(2), SkIntToScalar(2)); |
canvas->drawRect(target, backgroundPaint); |
- canvas->clipRect(target, SkRegion::kIntersect_Op, true); |
+ canvas->clipRect(target, SkCanvas::kIntersect_Op, true); |
target.inset(SkIntToScalar(-4), SkIntToScalar(-4)); |
canvas->drawRect(target, foregroundPaint); |
canvas->restore(); |