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