| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) | 2 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 case FontFamilyClass: | 123 case FontFamilyClass: |
| 124 return compareCSSValues<CSSFontFamilyValue>(*this, other); | 124 return compareCSSValues<CSSFontFamilyValue>(*this, other); |
| 125 case FontFeatureClass: | 125 case FontFeatureClass: |
| 126 return compareCSSValues<CSSFontFeatureValue>(*this, other); | 126 return compareCSSValues<CSSFontFeatureValue>(*this, other); |
| 127 case FunctionClass: | 127 case FunctionClass: |
| 128 return compareCSSValues<CSSFunctionValue>(*this, other); | 128 return compareCSSValues<CSSFunctionValue>(*this, other); |
| 129 case LinearGradientClass: | 129 case LinearGradientClass: |
| 130 return compareCSSValues<CSSLinearGradientValue>(*this, other); | 130 return compareCSSValues<CSSLinearGradientValue>(*this, other); |
| 131 case RadialGradientClass: | 131 case RadialGradientClass: |
| 132 return compareCSSValues<CSSRadialGradientValue>(*this, other); | 132 return compareCSSValues<CSSRadialGradientValue>(*this, other); |
| 133 case ConicGradientClass: |
| 134 return compareCSSValues<CSSConicGradientValue>(*this, other); |
| 133 case CrossfadeClass: | 135 case CrossfadeClass: |
| 134 return compareCSSValues<CSSCrossfadeValue>(*this, other); | 136 return compareCSSValues<CSSCrossfadeValue>(*this, other); |
| 135 case PaintClass: | 137 case PaintClass: |
| 136 return compareCSSValues<CSSPaintValue>(*this, other); | 138 return compareCSSValues<CSSPaintValue>(*this, other); |
| 137 case CustomIdentClass: | 139 case CustomIdentClass: |
| 138 return compareCSSValues<CSSCustomIdentValue>(*this, other); | 140 return compareCSSValues<CSSCustomIdentValue>(*this, other); |
| 139 case ImageClass: | 141 case ImageClass: |
| 140 return compareCSSValues<CSSImageValue>(*this, other); | 142 return compareCSSValues<CSSImageValue>(*this, other); |
| 141 case InheritedClass: | 143 case InheritedClass: |
| 142 return compareCSSValues<CSSInheritedValue>(*this, other); | 144 return compareCSSValues<CSSInheritedValue>(*this, other); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 case FontFamilyClass: | 217 case FontFamilyClass: |
| 216 return toCSSFontFamilyValue(this)->customCSSText(); | 218 return toCSSFontFamilyValue(this)->customCSSText(); |
| 217 case FontFeatureClass: | 219 case FontFeatureClass: |
| 218 return toCSSFontFeatureValue(this)->customCSSText(); | 220 return toCSSFontFeatureValue(this)->customCSSText(); |
| 219 case FunctionClass: | 221 case FunctionClass: |
| 220 return toCSSFunctionValue(this)->customCSSText(); | 222 return toCSSFunctionValue(this)->customCSSText(); |
| 221 case LinearGradientClass: | 223 case LinearGradientClass: |
| 222 return toCSSLinearGradientValue(this)->customCSSText(); | 224 return toCSSLinearGradientValue(this)->customCSSText(); |
| 223 case RadialGradientClass: | 225 case RadialGradientClass: |
| 224 return toCSSRadialGradientValue(this)->customCSSText(); | 226 return toCSSRadialGradientValue(this)->customCSSText(); |
| 227 case ConicGradientClass: |
| 228 return toCSSConicGradientValue(this)->customCSSText(); |
| 225 case CrossfadeClass: | 229 case CrossfadeClass: |
| 226 return toCSSCrossfadeValue(this)->customCSSText(); | 230 return toCSSCrossfadeValue(this)->customCSSText(); |
| 227 case PaintClass: | 231 case PaintClass: |
| 228 return toCSSPaintValue(this)->customCSSText(); | 232 return toCSSPaintValue(this)->customCSSText(); |
| 229 case CustomIdentClass: | 233 case CustomIdentClass: |
| 230 return toCSSCustomIdentValue(this)->customCSSText(); | 234 return toCSSCustomIdentValue(this)->customCSSText(); |
| 231 case ImageClass: | 235 case ImageClass: |
| 232 return toCSSImageValue(this)->customCSSText(); | 236 return toCSSImageValue(this)->customCSSText(); |
| 233 case InheritedClass: | 237 case InheritedClass: |
| 234 return toCSSInheritedValue(this)->customCSSText(); | 238 return toCSSInheritedValue(this)->customCSSText(); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 return; | 323 return; |
| 320 case FunctionClass: | 324 case FunctionClass: |
| 321 delete toCSSFunctionValue(this); | 325 delete toCSSFunctionValue(this); |
| 322 return; | 326 return; |
| 323 case LinearGradientClass: | 327 case LinearGradientClass: |
| 324 delete toCSSLinearGradientValue(this); | 328 delete toCSSLinearGradientValue(this); |
| 325 return; | 329 return; |
| 326 case RadialGradientClass: | 330 case RadialGradientClass: |
| 327 delete toCSSRadialGradientValue(this); | 331 delete toCSSRadialGradientValue(this); |
| 328 return; | 332 return; |
| 333 case ConicGradientClass: |
| 334 delete toCSSConicGradientValue(this); |
| 335 return; |
| 329 case CrossfadeClass: | 336 case CrossfadeClass: |
| 330 delete toCSSCrossfadeValue(this); | 337 delete toCSSCrossfadeValue(this); |
| 331 return; | 338 return; |
| 332 case PaintClass: | 339 case PaintClass: |
| 333 delete toCSSPaintValue(this); | 340 delete toCSSPaintValue(this); |
| 334 return; | 341 return; |
| 335 case CustomIdentClass: | 342 case CustomIdentClass: |
| 336 delete toCSSCustomIdentValue(this); | 343 delete toCSSCustomIdentValue(this); |
| 337 return; | 344 return; |
| 338 case ImageClass: | 345 case ImageClass: |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 return; | 456 return; |
| 450 case FunctionClass: | 457 case FunctionClass: |
| 451 toCSSFunctionValue(this)->~CSSFunctionValue(); | 458 toCSSFunctionValue(this)->~CSSFunctionValue(); |
| 452 return; | 459 return; |
| 453 case LinearGradientClass: | 460 case LinearGradientClass: |
| 454 toCSSLinearGradientValue(this)->~CSSLinearGradientValue(); | 461 toCSSLinearGradientValue(this)->~CSSLinearGradientValue(); |
| 455 return; | 462 return; |
| 456 case RadialGradientClass: | 463 case RadialGradientClass: |
| 457 toCSSRadialGradientValue(this)->~CSSRadialGradientValue(); | 464 toCSSRadialGradientValue(this)->~CSSRadialGradientValue(); |
| 458 return; | 465 return; |
| 466 case ConicGradientClass: |
| 467 toCSSConicGradientValue(this)->~CSSConicGradientValue(); |
| 468 return; |
| 459 case CrossfadeClass: | 469 case CrossfadeClass: |
| 460 toCSSCrossfadeValue(this)->~CSSCrossfadeValue(); | 470 toCSSCrossfadeValue(this)->~CSSCrossfadeValue(); |
| 461 return; | 471 return; |
| 462 case PaintClass: | 472 case PaintClass: |
| 463 toCSSPaintValue(this)->~CSSPaintValue(); | 473 toCSSPaintValue(this)->~CSSPaintValue(); |
| 464 return; | 474 return; |
| 465 case CustomIdentClass: | 475 case CustomIdentClass: |
| 466 toCSSCustomIdentValue(this)->~CSSCustomIdentValue(); | 476 toCSSCustomIdentValue(this)->~CSSCustomIdentValue(); |
| 467 return; | 477 return; |
| 468 case ImageClass: | 478 case ImageClass: |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 return; | 589 return; |
| 580 case FunctionClass: | 590 case FunctionClass: |
| 581 toCSSFunctionValue(this)->traceAfterDispatch(visitor); | 591 toCSSFunctionValue(this)->traceAfterDispatch(visitor); |
| 582 return; | 592 return; |
| 583 case LinearGradientClass: | 593 case LinearGradientClass: |
| 584 toCSSLinearGradientValue(this)->traceAfterDispatch(visitor); | 594 toCSSLinearGradientValue(this)->traceAfterDispatch(visitor); |
| 585 return; | 595 return; |
| 586 case RadialGradientClass: | 596 case RadialGradientClass: |
| 587 toCSSRadialGradientValue(this)->traceAfterDispatch(visitor); | 597 toCSSRadialGradientValue(this)->traceAfterDispatch(visitor); |
| 588 return; | 598 return; |
| 599 case ConicGradientClass: |
| 600 toCSSConicGradientValue(this)->traceAfterDispatch(visitor); |
| 601 return; |
| 589 case CrossfadeClass: | 602 case CrossfadeClass: |
| 590 toCSSCrossfadeValue(this)->traceAfterDispatch(visitor); | 603 toCSSCrossfadeValue(this)->traceAfterDispatch(visitor); |
| 591 return; | 604 return; |
| 592 case PaintClass: | 605 case PaintClass: |
| 593 toCSSPaintValue(this)->traceAfterDispatch(visitor); | 606 toCSSPaintValue(this)->traceAfterDispatch(visitor); |
| 594 return; | 607 return; |
| 595 case CustomIdentClass: | 608 case CustomIdentClass: |
| 596 toCSSCustomIdentValue(this)->traceAfterDispatch(visitor); | 609 toCSSCustomIdentValue(this)->traceAfterDispatch(visitor); |
| 597 return; | 610 return; |
| 598 case ImageClass: | 611 case ImageClass: |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 toCSSVariableReferenceValue(this)->traceAfterDispatch(visitor); | 678 toCSSVariableReferenceValue(this)->traceAfterDispatch(visitor); |
| 666 return; | 679 return; |
| 667 case CustomPropertyDeclarationClass: | 680 case CustomPropertyDeclarationClass: |
| 668 toCSSCustomPropertyDeclaration(this)->traceAfterDispatch(visitor); | 681 toCSSCustomPropertyDeclaration(this)->traceAfterDispatch(visitor); |
| 669 return; | 682 return; |
| 670 } | 683 } |
| 671 ASSERT_NOT_REACHED(); | 684 ASSERT_NOT_REACHED(); |
| 672 } | 685 } |
| 673 | 686 |
| 674 } // namespace blink | 687 } // namespace blink |
| OLD | NEW |