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

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

Issue 25497002: Generate toCSSFooValue() for CSS child values (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 e6fbb54fb1cb9f2dccbae7548d1a4282b7055f90..4c231b900d218d6844955de4ba16e5fc19f6841f 100644
--- a/Source/core/css/CSSValue.cpp
+++ b/Source/core/css/CSSValue.cpp
@@ -406,7 +406,7 @@ void CSSValue::destroy()
delete toCSSValueList(this);
return;
case CSSTransformClass:
- delete static_cast<CSSTransformValue*>(this);
+ delete toCSSTransformValue(this);
return;
case LineBoxContainClass:
delete static_cast<CSSLineBoxContainValue*>(this);
@@ -418,13 +418,13 @@ void CSSValue::destroy()
delete toCSSImageSetValue(this);
return;
case CSSFilterClass:
- delete static_cast<CSSFilterValue*>(this);
+ delete toCSSFilterValue(this);
return;
case CSSArrayFunctionValueClass:
- delete static_cast<CSSArrayFunctionValue*>(this);
+ delete toCSSArrayFunctionValue(this);
return;
case CSSMixFunctionValueClass:
- delete static_cast<CSSMixFunctionValue*>(this);
+ delete toCSSMixFunctionValue(this);
return;
case CSSShaderClass:
delete toCSSShaderValue(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