| OLD | NEW |
| 1 {% from 'macros.tmpl' import license %} | 1 {% from 'macros.tmpl' import license %} |
| 2 {{license()}} | 2 {{license()}} |
| 3 | 3 |
| 4 #include "config.h" | |
| 5 #include "core/css/resolver/StyleBuilder.h" | 4 #include "core/css/resolver/StyleBuilder.h" |
| 6 | 5 |
| 7 #include "StyleBuilderFunctions.h" | 6 #include "StyleBuilderFunctions.h" |
| 8 #include "core/css/CSSProperty.h" | 7 #include "core/css/CSSProperty.h" |
| 9 #include "core/css/resolver/StyleResolverState.h" | 8 #include "core/css/resolver/StyleResolverState.h" |
| 10 | 9 |
| 11 // FIXME: currently we're just generating a switch statement, but we should | 10 // FIXME: currently we're just generating a switch statement, but we should |
| 12 // test other variations for performance once we have more properties here. | 11 // test other variations for performance once we have more properties here. |
| 13 | 12 |
| 14 namespace blink { | 13 namespace blink { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 41 {% for property_id, property in properties.items() if property.builder_skip
%} | 40 {% for property_id, property in properties.items() if property.builder_skip
%} |
| 42 case {{property_id}}: | 41 case {{property_id}}: |
| 43 {% endfor %} | 42 {% endfor %} |
| 44 return; | 43 return; |
| 45 default: | 44 default: |
| 46 ASSERT_NOT_REACHED(); | 45 ASSERT_NOT_REACHED(); |
| 47 } | 46 } |
| 48 } | 47 } |
| 49 | 48 |
| 50 } // namespace blink | 49 } // namespace blink |
| OLD | NEW |