Index: src/effects/SkBlurImageFilter.cpp |
diff --git a/src/effects/SkBlurImageFilter.cpp b/src/effects/SkBlurImageFilter.cpp |
index 97cc8a9544faee3e5263513f4f1e38a6cd590b18..5d58369bc765cd561f6836a702145c7b4af0b6f1 100644 |
--- a/src/effects/SkBlurImageFilter.cpp |
+++ b/src/effects/SkBlurImageFilter.cpp |
@@ -15,6 +15,7 @@ |
#include "SkWriteBuffer.h" |
#if SK_SUPPORT_GPU |
#include "GrContext.h" |
+#include "SkGr.h" |
#endif |
// This rather arbitrary-looking value results in a maximum box blur kernel size |
@@ -227,7 +228,7 @@ bool SkBlurImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const |
if (!tex) { |
return false; |
} |
- WrapTexture(tex, dstBounds.width(), dstBounds.height(), result); |
+ GrWrapTextureInBitmap(tex, dstBounds.width(), dstBounds.height(), false, result); |
return true; |
#else |
SkDEBUGFAIL("Should not call in GPU-less build"); |