| Index: src/core/SkBitmapFilter.cpp
|
| diff --git a/src/core/SkBitmapFilter.cpp b/src/core/SkBitmapFilter.cpp
|
| index 8c11f7c4c5d4308039964464648d16cc084ee088..7443cb61b7c9953faf8517e5973c395e7c0a3810 100644
|
| --- a/src/core/SkBitmapFilter.cpp
|
| +++ b/src/core/SkBitmapFilter.cpp
|
| @@ -26,8 +26,8 @@ namespace {
|
|
|
| template <typename Color, typename ColorPacker>
|
| void highQualityFilter(ColorPacker pack, const SkBitmapProcState& s, int x, int y, Color* SK_RESTRICT colors, int count) {
|
| - const int maxX = s.fBitmap->width() - 1;
|
| - const int maxY = s.fBitmap->height() - 1;
|
| + const int maxX = s.fBitmap->width();
|
| + const int maxY = s.fBitmap->height();
|
|
|
| while (count-- > 0) {
|
| SkPoint srcPt;
|
|
|