Index: gm/imagefilters.cpp |
diff --git a/gm/imagefilters.cpp b/gm/imagefilters.cpp |
index fcb82a7242ec1dc9905ab9616f9a21183a5d295d..3e8d39a8792576d4ee657d145f1a616c60f92510 100644 |
--- a/gm/imagefilters.cpp |
+++ b/gm/imagefilters.cpp |
@@ -122,7 +122,7 @@ static void draw_set(SkCanvas* canvas, sk_sp<SkImageFilter> filters[], int count |
for (int i = 0; i < count; ++i) { |
canvas->save(); |
SkRRect rr = SkRRect::MakeRectXY(r.makeOffset(dx, dy), 20, 20); |
- canvas->clipRRect(rr, SkRegion::kIntersect_Op, true); |
+ canvas->clipRRect(rr, SkCanvas::kIntersect_Op, true); |
canvas->saveLayer({ &rr.getBounds(), nullptr, filters[i].get(), 0 }); |
canvas->drawColor(0x40FFFFFF); |
canvas->restore(); |