Index: src/utils/SkShadowPaintFilterCanvas.cpp |
diff --git a/src/utils/SkShadowPaintFilterCanvas.cpp b/src/utils/SkShadowPaintFilterCanvas.cpp |
index e4308709edf49ed0bd7f1c4734f0a0c1b8abfc54..ef29c3709d95ba7a45c413aa922544ed2d5ff971 100644 |
--- a/src/utils/SkShadowPaintFilterCanvas.cpp |
+++ b/src/utils/SkShadowPaintFilterCanvas.cpp |
@@ -50,7 +50,6 @@ bool SkShadowPaintFilterCanvas::onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Ty |
SkISize SkShadowPaintFilterCanvas::ComputeDepthMapSize(const SkLights::Light& light, int maxDepth, |
int width, int height) { |
- SkASSERT(light.type() != SkLights::Light::kAmbient_LightType); |
if (light.type() != SkLights::Light::kDirectional_LightType) { |
return SkISize::Make(width *2 , height * 2); |
} |