Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 895000e86e93b834446689c78e2e71210faff8fb..3f6bc947cfcbc0f209496593b1e0770bca37c242 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -18,6 +18,7 @@ |
#include "GrDrawContext.h" |
#include "GrInvariantOutput.h" |
#include "GrTexture.h" |
+#include "SkGr.h" |
#include "effects/Gr1DKernelEffect.h" |
#include "glsl/GrGLSLFragmentProcessor.h" |
#include "glsl/GrGLSLFragmentShaderBuilder.h" |
@@ -606,7 +607,7 @@ bool apply_morphology(const SkBitmap& input, |
srcTexture.reset(scratch); |
} |
- SkImageFilter::WrapTexture(srcTexture, rect.width(), rect.height(), dst); |
+ GrWrapTextureInBitmap(srcTexture, rect.width(), rect.height(), false, dst); |
return true; |
} |