Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index be63d15b10ea045f7ec2195950c9f7b6be65a094..cbee8500ac85588eab5f55c835a1f5a84eeb2ba2 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -507,7 +507,7 @@ bool SkDilateImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBi |
if (!SkImageFilterUtils::GetInputResultGPU(getInput(0), proxy, src, &inputBM)) { |
return false; |
} |
- GrTexture* input = (GrTexture*) inputBM.getTexture(); |
+ GrTexture* input = inputBM.getTexture(); |
SkIRect bounds; |
src.getBounds(&bounds); |
SkAutoTUnref<GrTexture> resultTex(apply_morphology(input, bounds, |
@@ -520,7 +520,7 @@ bool SkErodeImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, SkBit |
if (!SkImageFilterUtils::GetInputResultGPU(getInput(0), proxy, src, &inputBM)) { |
return false; |
} |
- GrTexture* input = (GrTexture*) inputBM.getTexture(); |
+ GrTexture* input = inputBM.getTexture(); |
SkIRect bounds; |
src.getBounds(&bounds); |
SkAutoTUnref<GrTexture> resultTex(apply_morphology(input, bounds, |