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

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

Issue 311803003: [oilpan]: Avoid refcounting QualifiedName's nullQName when tracing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: New QName hash trait 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/dom/QualifiedName.h » ('j') | Source/core/dom/QualifiedName.h » ('J')
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 5
6 #ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC 6 #ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC
7 #define {{namespace|to_macro_style}}_NAMES_HIDE_GLOBALS 1 7 #define {{namespace|to_macro_style}}_NAMES_HIDE_GLOBALS 1
8 #else
9 #define QNAME_DEFAULT_CONSTRUCTOR 1
10 #endif 8 #endif
11 9
12 #include "{{namespace}}Names.h" 10 #include "{{namespace}}Names.h"
13 11
14 #include "wtf/StaticConstructors.h" 12 #include "wtf/StaticConstructors.h"
15 13
16 namespace WebCore { 14 namespace WebCore {
17 namespace {{namespace}}Names { 15 namespace {{namespace}}Names {
18 16
19 using namespace WebCore; 17 using namespace WebCore;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 {% if use_namespace_for_attrs %} 70 {% if use_namespace_for_attrs %}
73 createQualifiedName((void*)&{{attr|symbol}}Attr, {{attr|symbol}}Impl, {{name space_prefix}}NS); 71 createQualifiedName((void*)&{{attr|symbol}}Attr, {{attr|symbol}}Impl, {{name space_prefix}}NS);
74 {% else %} 72 {% else %}
75 createQualifiedName((void*)&{{attr|symbol}}Attr, {{attr|symbol}}Impl); 73 createQualifiedName((void*)&{{attr|symbol}}Attr, {{attr|symbol}}Impl);
76 {% endif %} 74 {% endif %}
77 {% endfor %} 75 {% endfor %}
78 } 76 }
79 77
80 } // {{namespace}} 78 } // {{namespace}}
81 } // WebCore 79 } // WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/QualifiedName.h » ('j') | Source/core/dom/QualifiedName.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698