Changeset 156313 in webkit for trunk/Source/WebCore/css/CSSValue.h
- Timestamp:
- Sep 23, 2013, 5:57:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSValue.h
r156260 r156313 265 265 } 266 266 267 #define CSS_VALUE_TYPE_CASTS(ValueTypeName) \ 268 inline const CSS##ValueTypeName* toCSS##ValueTypeName(const CSSValue* value) \ 269 { \ 270 ASSERT_WITH_SECURITY_IMPLICATION(!value || value->is##ValueTypeName()); \ 271 return static_cast<const CSS##ValueTypeName*>(value); \ 272 } \ 273 inline CSS##ValueTypeName* toCSS##ValueTypeName(CSSValue* value) \ 274 { \ 275 ASSERT_WITH_SECURITY_IMPLICATION(!value || value->is##ValueTypeName()); \ 276 return static_cast<CSS##ValueTypeName*>(value); \ 277 } \ 278 void toCSS##ValueTypeName(const CSS##ValueTypeName*); \ 279 void toCSS##ValueTypeName(const CSS##ValueTypeName&); 280 267 281 } // namespace WebCore 268 282
Note:
See TracChangeset
for help on using the changeset viewer.