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

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/MakeNames.cpp.tmpl

Issue 2822953002: Remove old wtf/ directory. (Closed)
Patch Set: Fixup *.typemap files. 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 {% from "macros.tmpl" import license %} 1 {% from "macros.tmpl" import license %}
2 {{ license() }} 2 {{ license() }}
3 3
4 #include "{{namespace}}{{suffix}}Names.h" 4 #include "{{namespace}}{{suffix}}Names.h"
5 5
6 #include "wtf/StdLibExtras.h" 6 #include "platform/wtf/StdLibExtras.h"
7 7
8 // Generated from: 8 // Generated from:
9 {% for entry in in_files|sort %} 9 {% for entry in in_files|sort %}
10 // - {{entry}} 10 // - {{entry}}
11 {% endfor %} 11 {% endfor %}
12 12
13 namespace blink { 13 namespace blink {
14 namespace {{namespace}}Names { 14 namespace {{namespace}}Names {
15 15
16 using namespace WTF; 16 using namespace WTF;
(...skipping 19 matching lines...) Expand all
36 36
37 for (size_t i = 0; i < WTF_ARRAY_LENGTH(kNames); i++) { 37 for (size_t i = 0; i < WTF_ARRAY_LENGTH(kNames); i++) {
38 StringImpl* stringImpl = StringImpl::CreateStatic(kNames[i].name, kNames[i]. length, kNames[i].hash); 38 StringImpl* stringImpl = StringImpl::CreateStatic(kNames[i].name, kNames[i]. length, kNames[i].hash);
39 void* address = reinterpret_cast<AtomicString*>(&{{suffix}}NamesStorage) + i ; 39 void* address = reinterpret_cast<AtomicString*>(&{{suffix}}NamesStorage) + i ;
40 new (address) AtomicString(stringImpl); 40 new (address) AtomicString(stringImpl);
41 } 41 }
42 } 42 }
43 43
44 } // {{namespace}}Names 44 } // {{namespace}}Names
45 } // namespace blink 45 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698