Index: gm/xfermodeimagefilter.cpp |
diff --git a/gm/xfermodeimagefilter.cpp b/gm/xfermodeimagefilter.cpp |
index 1e9e4d87daa48b24d039c4a3448fc04ecdd0d9fa..01bfe0ad611d879d7097cd3abd492162e192c776 100644 |
--- a/gm/xfermodeimagefilter.cpp |
+++ b/gm/xfermodeimagefilter.cpp |
@@ -207,11 +207,7 @@ protected: |
y + offsets[i][1], |
fBitmap.width() + offsets[i][2], |
fBitmap.height() + offsets[i][3]); |
-#ifdef SK_CROP_RECT_IS_INT |
- SkIRect rect = cropRect; |
-#else |
SkImageFilter::CropRect rect(SkRect::Make(cropRect)); |
-#endif |
mode.reset(SkXfermode::Create(sampledModes[i])); |
filter.reset(SkNEW_ARGS(SkXfermodeImageFilter, |
(mode, offsetBackground, offsetForeground, &rect))); |