From 8b66abb9bc78fd031334f565c9394f4fdc99811b Mon Sep 17 00:00:00 2001 From: "senorblanco@chromium.org" Date: Wed, 16 Oct 2013 15:46:00 +0000 Subject: Remove support for SK_CROP_RECT_IS_INT, now that it is no longer used in Blink or Chrome. BUG= R=reed@google.com, reed Review URL: https://codereview.chromium.org/27521002 git-svn-id: http://skia.googlecode.com/svn/trunk@11812 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/lighting.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gm/lighting.cpp') 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++) { -- cgit v1.2.3