Index: src/effects/SkLayerRasterizer.cpp |
diff --git a/src/effects/SkLayerRasterizer.cpp b/src/effects/SkLayerRasterizer.cpp |
index 90fd59b585b6d9acde121aa18c714f313d795a2c..9b7bdca3f4b7fb198ff0d4ec1949144d17aac055 100644 |
--- a/src/effects/SkLayerRasterizer.cpp |
+++ b/src/effects/SkLayerRasterizer.cpp |
@@ -50,17 +50,6 @@ SkLayerRasterizer::~SkLayerRasterizer() { |
clean_up_layers(const_cast<SkDeque*>(fLayers)); |
} |
-#ifdef SK_SUPPORT_LEGACY_LAYERRASTERIZER_API |
-void SkLayerRasterizer::addLayer(const SkPaint& paint, SkScalar dx, |
- SkScalar dy) { |
- SkASSERT(fLayers); |
- SkLayerRasterizer_Rec* rec = (SkLayerRasterizer_Rec*)fLayers->push_back(); |
- |
- SkNEW_PLACEMENT_ARGS(&rec->fPaint, SkPaint, (paint)); |
- rec->fOffset.set(dx, dy); |
-} |
-#endif |
- |
static bool compute_bounds(const SkDeque& layers, const SkPath& path, |
const SkMatrix& matrix, |
const SkIRect* clipBounds, SkIRect* bounds) { |