| OLD | NEW |
| 1 {% from "macros.tmpl" import license %} | 1 {% from "macros.tmpl" import license %} |
| 2 {{ license() }} | 2 {{ license() }} |
| 3 | 3 |
| 4 #include "{{namespace}}Names.h" | 4 #include "{{namespace}}Names.h" |
| 5 | 5 |
| 6 #include "platform/wtf/PtrUtil.h" | 6 #include "platform/wtf/PtrUtil.h" |
| 7 #include "platform/wtf/StaticConstructors.h" | 7 #include "platform/wtf/StaticConstructors.h" |
| 8 #include "platform/wtf/StdLibExtras.h" | 8 #include "platform/wtf/StdLibExtras.h" |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 {% endif %} | 90 {% endif %} |
| 91 void* address = reinterpret_cast<QualifiedName*>(&{{suffix}}AttrStorage) + a
ttr_i; | 91 void* address = reinterpret_cast<QualifiedName*>(&{{suffix}}AttrStorage) + a
ttr_i; |
| 92 {% if use_namespace_for_attrs %} | 92 {% if use_namespace_for_attrs %} |
| 93 QualifiedName::CreateStatic(address, stringImpl, {{namespace_prefix}}NS); | 93 QualifiedName::CreateStatic(address, stringImpl, {{namespace_prefix}}NS); |
| 94 {% else %} | 94 {% else %} |
| 95 QualifiedName::CreateStatic(address, stringImpl); | 95 QualifiedName::CreateStatic(address, stringImpl); |
| 96 {% endif %} | 96 {% endif %} |
| 97 attr_i++; | 97 attr_i++; |
| 98 } | 98 } |
| 99 {% if tags %} | 99 {% if tags %} |
| 100 ASSERT(tag_i == {{namespace}}TagsCount); | 100 DCHECK_EQ(tag_i, {{namespace}}TagsCount); |
| 101 {% endif %} | 101 {% endif %} |
| 102 ASSERT(attr_i == {{namespace}}AttrsCount); | 102 DCHECK_EQ(attr_i, {{namespace}}AttrsCount); |
| 103 } | 103 } |
| 104 | 104 |
| 105 } // {{namespace}} | 105 } // {{namespace}} |
| 106 } // namespace blink | 106 } // namespace blink |
| OLD | NEW |