Fix GPU-less build. Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@7276 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/effects/SkBicubicImageFilter.cpp b/src/effects/SkBicubicImageFilter.cpp
index b02305a..7ebee53 100644
--- a/src/effects/SkBicubicImageFilter.cpp
+++ b/src/effects/SkBicubicImageFilter.cpp
@@ -9,6 +9,7 @@
#include "SkBitmap.h"
#include "SkColorPriv.h"
#include "SkFlattenableBuffers.h"
+#include "SkMatrix.h"
#include "SkRect.h"
#include "SkUnPreMultiply.h"
@@ -147,6 +148,8 @@
///////////////////////////////////////////////////////////////////////////////
+#if SK_SUPPORT_GPU
+
class GrGLBicubicEffect;
class GrBicubicEffect : public GrSingleTextureEffect {
@@ -333,7 +336,6 @@
return GrBicubicEffect::Create(textures[texIdx], coefficients);
}
-#if SK_SUPPORT_GPU
GrTexture* SkBicubicImageFilter::filterImageGPU(Proxy* proxy, GrTexture* src, const SkRect& rect) {
SkAutoTUnref<GrTexture> srcTexture(this->getInputResultAsTexture(proxy, src, rect));
GrContext* context = srcTexture->getContext();