Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index bbac9ed1146b32f0074caa86316c42eb5d1b83af..501d5153f524d136762bb6eaef172aa7cfeb663c 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -17,7 +17,6 @@ |
#if SK_SUPPORT_GPU |
#include "GrContext.h" |
-#include "GrCaps.h" |
#endif |
namespace { |
@@ -346,7 +345,7 @@ |
GrFragmentProcessor** fp) const { |
int maxTextureSize = 0; |
if (context) { |
- maxTextureSize = context->caps()->maxTextureSize(); |
+ maxTextureSize = context->getMaxTextureSize(); |
} |
SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(viewM, localMatrix, maxTextureSize)); |
if (!bitmapShader) { |