Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 3c91101b346376b50e190079e5a19c1ac1057f51..1325d34dbe14c778be013f86ab3d3b31613bcb4c 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -472,13 +472,6 @@ inline bool skPaint2GrPaintNoShader(SkGpuDevice* dev, |
SkAutoTUnref<GrEffectRef> effect(colorFilter->asNewEffect(dev->context())); |
if (NULL != effect.get()) { |
grPaint->addColorEffect(effect); |
- } else { |
- // TODO: rewrite this using asNewEffect() |
- SkColor color; |
- SkXfermode::Mode filterMode; |
- if (colorFilter->asColorMode(&color, &filterMode)) { |
- grPaint->setXfermodeColorFilter(filterMode, SkColor2GrColor(color)); |
- } |
} |
} |
} |