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