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

Side by Side Diff: Source/build/scripts/templates/StyleBuilder.cpp.tmpl

Issue 336163003: Remove excessive include of ActiveAnimations.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: One more use of RuntimeEnabledFeatures detected by the bots; add it Created 6 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/rendering/InlineTextBox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% from 'macros.tmpl' import license %} 1 {% from 'macros.tmpl' import license %}
2 {{license()}} 2 {{license()}}
3 3
4 #include "config.h" 4 #include "config.h"
5 #include "core/css/resolver/StyleBuilder.h" 5 #include "core/css/resolver/StyleBuilder.h"
6 6
7 #include "StyleBuilderFunctions.h" 7 #include "StyleBuilderFunctions.h"
8 #include "core/css/CSSProperty.h"
8 #include "core/css/resolver/StyleResolverState.h" 9 #include "core/css/resolver/StyleResolverState.h"
9 10
10 // FIXME: currently we're just generating a switch statement, but we should 11 // FIXME: currently we're just generating a switch statement, but we should
11 // test other variations for performance once we have more properties here. 12 // test other variations for performance once we have more properties here.
12 13
13 namespace WebCore { 14 namespace WebCore {
14 15
15 void StyleBuilder::applyProperty(CSSPropertyID property, StyleResolverState& sta te, CSSValue* value, bool isInitial, bool isInherit) { 16 void StyleBuilder::applyProperty(CSSPropertyID property, StyleResolverState& sta te, CSSValue* value, bool isInitial, bool isInherit) {
16 switch(property) { 17 switch(property) {
17 {% for property_id, property in properties.items() 18 {% for property_id, property in properties.items()
(...skipping 23 matching lines...) Expand all
41 case {{property_id}}: 42 case {{property_id}}:
42 {% endfor %} 43 {% endfor %}
43 return; 44 return;
44 default: 45 default:
45 // FIXME: We should explicitly handle all cases here once we merge the v arious .in files 46 // FIXME: We should explicitly handle all cases here once we merge the v arious .in files
46 ASSERT_NOT_REACHED(); 47 ASSERT_NOT_REACHED();
47 } 48 }
48 } 49 }
49 50
50 } // namespace WebCore 51 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/InlineTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698