Speculative Mac 10.6 fix: remove useless code from matriximagefilter GM.

TBR=mtklein@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/211703002

git-svn-id: http://skia.googlecode.com/svn/trunk@13944 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
senorblanco@chromium.org 2014-03-25 20:47:29 +00:00
parent f41e93b06a
commit afb26eef13

View File

@ -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);