Index: gm/matriximagefilter.cpp |
diff --git a/gm/matriximagefilter.cpp b/gm/matriximagefilter.cpp |
index ac8b94f148402d568773533a6e93c2d72f62e6be..df691c95d8c3aba72909c832444d34f31a61735e 100644 |
--- a/gm/matriximagefilter.cpp |
+++ b/gm/matriximagefilter.cpp |
@@ -59,16 +59,11 @@ protected: |
virtual void onDraw(SkCanvas* canvas) { |
canvas->clear(0x00000000); |
- SkPaint paint; |
SkMatrix matrix; |
SkScalar margin = SkIntToScalar(10); |
matrix.setSkew(SkDoubleToScalar(0.5), SkDoubleToScalar(0.2)); |
- SkRect srcBounds; |
SkBitmap checkerboard; |
make_checkerboard(&checkerboard); |
- checkerboard.getBounds(&srcBounds); |
- // Outer paint does no filtering; leave it all for the filter |
- paint.setFilterLevel(SkPaint::kNone_FilterLevel); |
SkRect srcRect = SkRect::MakeWH(96, 96); |