Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: Source/core/css/CSSValue.cpp

Issue 24932003: Use DEFINE_CSS_VALUE_TYPE_CASTS instead of using manual type cast function for CSSShaderValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/resolver/FilterOperationResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/resolver/FilterOperationResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698