Index: gm/offsetimagefilter.cpp |
diff --git a/gm/offsetimagefilter.cpp b/gm/offsetimagefilter.cpp |
index 52a8b817f2e84831ccbe4853710a78d7bab4ed65..2d77bbd243c99035f9b1436c16b6a429d969f946 100644 |
--- a/gm/offsetimagefilter.cpp |
+++ b/gm/offsetimagefilter.cpp |
@@ -92,11 +92,7 @@ protected: |
y + i * 8, |
bitmap->width() - i * 8, |
bitmap->height() - i * 12); |
-#ifdef SK_CROP_RECT_IS_INT |
- SkIRect rect = cropRect; |
-#else |
SkImageFilter::CropRect rect(SkRect::Make(cropRect)); |
-#endif |
SkAutoTUnref<SkImageFilter> tileInput(SkNEW_ARGS(SkBitmapSource, (*bitmap))); |
SkScalar dx = SkIntToScalar(i*5); |
SkScalar dy = SkIntToScalar(i*10); |