Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index 524a475b71311c65306b6fa65c2125da100894df..1a4c876d61c5ed75346e308a495a2cf73af9b609 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -596,18 +596,7 @@ |
return SkRef(src); |
} |
- SkAutoTUnref<SkSpecialImage> result(input->filterImage(src, this->mapContext(ctx), offset)); |
- |
-#if SK_SUPPORT_GPU |
- if (src->peekTexture() && !result->peekTexture()) { |
- // Keep the result on the GPU - this is still required for some |
- // image filters that don't support GPU in all cases |
- GrContext* context = src->peekTexture()->getContext(); |
- return result->makeTextureImage(src->internal_getProxy(), context).release(); |
- } |
-#endif |
- |
- return result.release(); |
+ return input->filterImage(src, this->mapContext(ctx), offset); |
} |
#if SK_SUPPORT_GPU |