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

Side by Side Diff: third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp.tmpl

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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
OLDNEW
1 {% filter format_blink_cpp_source_code %} 1 {% filter format_blink_cpp_source_code %}
2 2
3 {% include 'copyright_block.txt' %} 3 {% include 'copyright_block.txt' %}
4 #include "{{cpp_class}}.h" 4 #include "{{cpp_class}}.h"
5 5
6 {% for filename in cpp_includes %} 6 {% for filename in cpp_includes %}
7 #include "{{filename}}" 7 #include "{{filename}}"
8 {% endfor %} 8 {% endfor %}
9 9
10 namespace blink { 10 namespace blink {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 {{member.nullable_indicator_name}} = false; 44 {{member.nullable_indicator_name}} = false;
45 {% else %} 45 {% else %}
46 m_{{member.cpp_name}} = {{member.member_cpp_type}}(); 46 m_{{member.cpp_name}} = {{member.member_cpp_type}}();
47 {% endif %} 47 {% endif %}
48 } 48 }
49 {% endif %} 49 {% endif %}
50 {% endfor %} 50 {% endfor %}
51 51
52 DEFINE_TRACE({{cpp_class}}) { 52 DEFINE_TRACE({{cpp_class}}) {
53 {% for member in members if member.is_traceable %} 53 {% for member in members if member.is_traceable %}
54 visitor->trace(m_{{member.cpp_name}}); 54 visitor->Trace(m_{{member.cpp_name}});
55 {% endfor %} 55 {% endfor %}
56 {% if parent_cpp_class %} 56 {% if parent_cpp_class %}
57 {{parent_cpp_class}}::trace(visitor); 57 {{parent_cpp_class}}::Trace(visitor);
58 {% endif %} 58 {% endif %}
59 } 59 }
60 60
61 } // namespace blink 61 } // namespace blink
62 62
63 {% endfilter %}{# format_blink_cpp_source_code #} 63 {% endfilter %}{# format_blink_cpp_source_code #}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698