| Index: src/effects/SkGpuBlurUtils.cpp
|
| diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp
|
| index 4997afe22f7364d48e27275a4b7b499fd5bf2d0b..ad268d6961ef69f919e9472f11b5347cc3854328 100644
|
| --- a/src/effects/SkGpuBlurUtils.cpp
|
| +++ b/src/effects/SkGpuBlurUtils.cpp
|
| @@ -13,6 +13,7 @@
|
| #include "effects/GrConvolutionEffect.h"
|
| #include "effects/GrMatrixConvolutionEffect.h"
|
| #include "GrContext.h"
|
| +#include "GrCaps.h"
|
| #include "GrDrawContext.h"
|
| #endif
|
|
|
| @@ -154,7 +155,7 @@ GrTexture* GaussianBlur(GrContext* context,
|
| SkIRect clearRect;
|
| int scaleFactorX, radiusX;
|
| int scaleFactorY, radiusY;
|
| - int maxTextureSize = context->getMaxTextureSize();
|
| + int maxTextureSize = context->caps()->maxTextureSize();
|
| sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX);
|
| sigmaY = adjust_sigma(sigmaY, maxTextureSize, &scaleFactorY, &radiusY);
|
|
|
|
|