| Index: src/core/SkCanvas.cpp
|
| diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
|
| index fc1897526cde8679dab48cd323db81362c829fda..c4ce75c6c0f881e96701a8f92a132c6338be6cd9 100644
|
| --- a/src/core/SkCanvas.cpp
|
| +++ b/src/core/SkCanvas.cpp
|
| @@ -3231,8 +3231,7 @@ void SkCanvas::onDrawShadowedPicture(const SkPicture* picture,
|
| // skip over ambient lights; they don't cast shadows
|
| // lights that have shadow maps do not need updating (because lights are immutable)
|
|
|
| - if (SkLights::Light::kAmbient_LightType == fLights->light(i).type() ||
|
| - fLights->light(i).getShadowMap() != nullptr) {
|
| + if (fLights->light(i).getShadowMap() != nullptr) {
|
| continue;
|
| }
|
|
|
|
|