| Index: Source/core/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/core/platform/graphics/GraphicsContext.cpp b/Source/core/platform/graphics/GraphicsContext.cpp
|
| index 9af9b34e1ba7f297617d3983e2f07918beade26d..ea63866bfd9047ebe0cec4f083ff26528efb2470 100644
|
| --- a/Source/core/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/core/platform/graphics/GraphicsContext.cpp
|
| @@ -273,7 +273,7 @@ void GraphicsContext::setShadow(const FloatSize& offset, float blur, const Color
|
| if (paintingDisabled())
|
| return;
|
|
|
| - if (!color.alpha() || (!offset.width() && !offset.height() && !blur)) {
|
| + if (!color.isValid() || !color.alpha() || (!offset.width() && !offset.height() && !blur)) {
|
| clearShadow();
|
| return;
|
| }
|
|
|