aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/lighting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/lighting.cpp')
-rw-r--r--gm/lighting.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/gm/lighting.cpp b/gm/lighting.cpp
index 50dceb44e1..ab2915d57d 100644
--- a/gm/lighting.cpp
+++ b/gm/lighting.cpp
@@ -85,11 +85,7 @@ protected:
SkColor white(0xFFFFFFFF);
SkPaint paint;
-#ifdef SK_CROP_RECT_IS_INT
- SkIRect cropRect = SkIRect::MakeXYWH(20, 10, 60, 65);
-#else
SkImageFilter::CropRect cropRect(SkRect::MakeXYWH(20, 10, 60, 65));
-#endif
int y = 0;
for (int i = 0; i < 2; i++) {