Index: Source/core/platform/graphics/ShadowBlur.cpp |
diff --git a/Source/core/platform/graphics/ShadowBlur.cpp b/Source/core/platform/graphics/ShadowBlur.cpp |
index 652d13a1dcc080773f835414a5a6586e65ce6693..9f2ee076c5de4f90690648a48882a916abd72862 100644 |
--- a/Source/core/platform/graphics/ShadowBlur.cpp |
+++ b/Source/core/platform/graphics/ShadowBlur.cpp |
@@ -55,7 +55,7 @@ void ShadowBlur::updateShadowBlurValues() |
m_blurRadius = m_blurRadius.shrunkTo(FloatSize(128, 128)); |
// The type of shadow is decided by the blur radius, shadow offset, and shadow color. |
- if (!m_color.isValid() || !m_color.alpha()) { |
+ if (!m_color.alpha()) { |
// Can't paint the shadow with invalid or invisible color. |
m_type = NoShadow; |
} else if (m_blurRadius.width() > 0 || m_blurRadius.height() > 0) { |