Changeset 274546 in webkit for trunk/Source/WebCore/css/CSSValue.cpp
- Timestamp:
- Mar 16, 2021, 7:12:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSValue.cpp
r266686 r274546 63 63 #include "CSSUnsetValue.h" 64 64 #include "CSSValueList.h" 65 #include "CSSValuePair.h" 65 66 #include "CSSVariableReferenceValue.h" 66 67 … … 313 314 case ValueListClass: 314 315 return downcast<CSSValueList>(*this).customCSSText(); 316 case ValuePairClass: 317 return downcast<CSSValuePair>(*this).customCSSText(); 315 318 case LineBoxContainClass: 316 319 return downcast<CSSLineBoxContainValue>(*this).customCSSText(); … … 339 342 } 340 343 344 String CSSValue::separatorCssText() const 345 { 346 switch (m_valueSeparator) { 347 case SpaceSeparator: 348 return " "_s; 349 case CommaSeparator: 350 return ", "_s; 351 case SlashSeparator: 352 return " / "_s; 353 default: 354 ASSERT_NOT_REACHED(); 355 } 356 return " "_s; 357 } 358 341 359 void CSSValue::destroy() 342 360 { … … 434 452 case ValueListClass: 435 453 delete downcast<CSSValueList>(this); 454 return; 455 case ValuePairClass: 456 delete downcast<CSSValuePair>(this); 436 457 return; 437 458 case LineBoxContainClass:
Note:
See TracChangeset
for help on using the changeset viewer.