Index: Source/core/css/CSSValue.cpp |
diff --git a/Source/core/css/CSSValue.cpp b/Source/core/css/CSSValue.cpp |
index 5d765047b68e4a244ac3f63d25a24879141f7a17..b044c347c2b6baddb50363d52256e9ba86fa8e28 100644 |
--- a/Source/core/css/CSSValue.cpp |
+++ b/Source/core/css/CSSValue.cpp |
@@ -427,7 +427,7 @@ void CSSValue::destroy() |
delete static_cast<CSSMixFunctionValue*>(this); |
return; |
case CSSShaderClass: |
- delete static_cast<CSSShaderValue*>(this); |
+ delete toCSSShaderValue(this); |
return; |
case VariableClass: |
delete toCSSVariableValue(this); |