Index: gm/morphology.cpp |
diff --git a/gm/morphology.cpp b/gm/morphology.cpp |
index 9e67bfaa73df0e8b4003392b476768c3d3baf893..756190ec033fda83f5eb2d20f2f20cf346c53361 100644 |
--- a/gm/morphology.cpp |
+++ b/gm/morphology.cpp |
@@ -70,11 +70,7 @@ protected: |
{ 24, 24, 25, 25 }, |
}; |
SkPaint paint; |
-#ifdef SK_CROP_RECT_IS_INT |
- SkIRect cropRect = SkIRect::MakeXYWH(25, 20, 100, 80); |
-#else |
SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(25, 20, 100, 80)); |
-#endif |
for (unsigned j = 0; j < 4; ++j) { |
for (unsigned i = 0; i < SK_ARRAY_COUNT(samples); ++i) { |