| Index: src/effects/SkMatrixConvolutionImageFilter.cpp
|
| diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| index c2ad9ead2fe68fdcd500a7322bedf3ec51e5435f..499ba51224d3a28cb380ec65f37fe7e5133dfaef 100644
|
| --- a/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| +++ b/src/effects/SkMatrixConvolutionImageFilter.cpp
|
| @@ -126,8 +126,8 @@ public:
|
| class ClampPixelFetcher {
|
| public:
|
| static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) {
|
| - x = SkPin32(x, bounds.fLeft, bounds.fRight - 1);
|
| - y = SkPin32(y, bounds.fTop, bounds.fBottom - 1);
|
| + x = SkTPin(x, bounds.fLeft, bounds.fRight - 1);
|
| + y = SkTPin(y, bounds.fTop, bounds.fBottom - 1);
|
| return *src.getAddr32(x, y);
|
| }
|
| };
|
|
|