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

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

Issue 24954002: Generate toCSSFooValue for CSSFunctionValue and CSSSVGDocumentValue (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..ca35ed7344d4f6960f727be47e83fff692fac66e 100644
--- a/Source/core/css/CSSValue.cpp
+++ b/Source/core/css/CSSValue.cpp
@@ -361,7 +361,7 @@ void CSSValue::destroy()
delete static_cast<FontFeatureValue*>(this);
return;
case FunctionClass:
- delete static_cast<CSSFunctionValue*>(this);
+ delete toCSSFunctionValue(this);
return;
case LinearGradientClass:
delete static_cast<CSSLinearGradientValue*>(this);
@@ -439,7 +439,7 @@ void CSSValue::destroy()
delete static_cast<SVGPaint*>(this);
return;
case CSSSVGDocumentClass:
- delete static_cast<CSSSVGDocumentValue*>(this);
+ delete toCSSSVGDocumentValue(this);
return;
}
ASSERT_NOT_REACHED();
« 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