Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index adc8599bf7d7aff0a581047e43c9c1edea51f2b0..5ba174cafcc53e9f483b7844c1f1d98b173629ac 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -919,7 +919,7 @@ |
// transform the path into device space |
pathPtr->transform(fContext->getMatrix(), devPathPtr); |
- |
+ |
SkRect maskRect; |
if (paint.getMaskFilter()->canFilterMaskGPU(devPathPtr->getBounds(), |
draw.fClip->getBounds(), |
@@ -937,13 +937,6 @@ |
} |
if (NULL != draw.fBounder && !draw.fBounder->doIRect(finalIRect)) { |
// nothing to draw |
- return; |
- } |
- |
- if (paint.getMaskFilter()->directFilterMaskGPU(fContext, &grPaint, |
- SkStrokeRec(paint), *devPathPtr)) { |
- // the mask filter was able to draw itself directly, so there's nothing |
- // left to do. |
return; |
} |