| Index: gm/imageblurtiled.cpp
|
| diff --git a/gm/imageblurtiled.cpp b/gm/imageblurtiled.cpp
|
| index 415fa7315a2501728c76fc63a480368e239995fb..fb7ee21e37e5794fe5940593dae5360d9a6b9af1 100644
|
| --- a/gm/imageblurtiled.cpp
|
| +++ b/gm/imageblurtiled.cpp
|
| @@ -33,10 +33,7 @@ protected:
|
| SkPaint paint;
|
| paint.setImageFilter(SkBlurImageFilter::Make(fSigmaX, fSigmaY, nullptr));
|
| const SkScalar tileSize = SkIntToScalar(128);
|
| - SkRect bounds;
|
| - if (!canvas->getClipBounds(&bounds)) {
|
| - bounds.setEmpty();
|
| - }
|
| + SkRect bounds = SkRect::MakeWH(WIDTH, HEIGHT);
|
| for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) {
|
| for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) {
|
| canvas->save();
|
|
|