Index: tests/GrShapeTest.cpp |
diff --git a/tests/GrShapeTest.cpp b/tests/GrShapeTest.cpp |
index 6e1901ff0229cd1f9b7bf22e9a233fafa2431451..36ebd7b21e68d8b09381244e0db0d665f095c50b 100644 |
--- a/tests/GrShapeTest.cpp |
+++ b/tests/GrShapeTest.cpp |
@@ -52,7 +52,7 @@ static bool test_bounds_by_rasterizing(const SkPath& path, const SkRect& bounds) |
SkMatrix matrix; |
matrix.setRectToRect(bounds, clip, SkMatrix::kFill_ScaleToFit); |
clip.outset(SkIntToScalar(kTol), SkIntToScalar(kTol)); |
- surface->getCanvas()->clipRect(clip, SkRegion::kDifference_Op); |
+ surface->getCanvas()->clipRect(clip, SkCanvas::kDifference_Op); |
surface->getCanvas()->concat(matrix); |
SkPaint whitePaint; |
whitePaint.setColor(SK_ColorWHITE); |