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

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl

Issue 2921543002: Make ComputedStyleBase use MemberCopy when copying pointer fields. (Closed)
Patch Set: Rebase Created 3 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 | third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl » ('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, print_if %} 1 {% from 'macros.tmpl' import license, print_if %}
2 {% from 'fields/field.tmpl' import encode, getter_expression, setter_expression, declare_storage, fieldwise_compare, fieldwise_copy, fieldwise_diff, fieldwise_p ointer_compare_inherited %} 2 {% from 'fields/field.tmpl' import encode, getter_expression, setter_expression, declare_storage, fieldwise_compare, fieldwise_copy, fieldwise_diff, fieldwise_p ointer_compare_inherited %}
3 {% from 'fields/group.tmpl' import define_field_group_class %} 3 {% from 'fields/group.tmpl' import define_field_group_class %}
4 {{license()}} 4 {{license()}}
5 5
6 #ifndef ComputedStyleBase_h 6 #ifndef ComputedStyleBase_h
7 #define ComputedStyleBase_h 7 #define ComputedStyleBase_h
8 8
9 #include "core/style/ComputedStyleConstants.h" 9 #include "core/style/ComputedStyleConstants.h"
10 #include "core/CoreExport.h" 10 #include "core/CoreExport.h"
11 #include "core/style/DataRef.h" 11 #include "core/style/DataRef.h"
12 #include "core/style/MemberCopy.h"
12 #include "core/style/StyleDifference.h" 13 #include "core/style/StyleDifference.h"
13 #include "platform/wtf/SizeAssertions.h" 14 #include "platform/wtf/SizeAssertions.h"
14 #include "core/layout/LayoutTheme.h" 15 #include "core/layout/LayoutTheme.h"
15 {% for path in include_paths %} 16 {% for path in include_paths %}
16 #include "{{path}}" 17 #include "{{path}}"
17 {% endfor %} 18 {% endfor %}
18 19
19 {# Each field template has macros that we can call to generate specific 20 {# Each field template has macros that we can call to generate specific
20 aspects of the field (e.g. getters, setters). 21 aspects of the field (e.g. getters, setters).
21 #} 22 #}
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 223
223 private: 224 private:
224 {% for field in computed_style.fields %} 225 {% for field in computed_style.fields %}
225 {{declare_storage(field)}} 226 {{declare_storage(field)}}
226 {% endfor %} 227 {% endfor %}
227 }; 228 };
228 229
229 } // namespace blink 230 } // namespace blink
230 231
231 #endif // ComputedStyleBase_h 232 #endif // ComputedStyleBase_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/build/scripts/templates/fields/group.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698