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

Side by Side Diff: third_party/WebKit/Source/core/CoreInitializer.cpp

Issue 1938343002: Generate a series of nested switch statements to parse CSSPrimitiveValue units. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 EventTargetNames::init(); 117 EventTargetNames::init();
118 EventTypeNames::init(); 118 EventTypeNames::init();
119 FetchInitiatorTypeNames::init(); 119 FetchInitiatorTypeNames::init();
120 FontFamilyNames::init(); 120 FontFamilyNames::init();
121 HTMLTokenizerNames::init(); 121 HTMLTokenizerNames::init();
122 HTTPNames::init(); 122 HTTPNames::init();
123 InputTypeNames::init(); 123 InputTypeNames::init();
124 MediaFeatureNames::init(); 124 MediaFeatureNames::init();
125 MediaTypeNames::init(); 125 MediaTypeNames::init();
126 126
127 CSSPrimitiveValue::initUnitTable();
128 CSSParserTokenRange::initStaticEOFToken(); 127 CSSParserTokenRange::initStaticEOFToken();
129 128
130 StyleChangeExtraData::init(); 129 StyleChangeExtraData::init();
131 130
132 EventTracer::initialize(); 131 EventTracer::initialize();
133 KURL::initialize(); 132 KURL::initialize();
134 SchemeRegistry::initialize(); 133 SchemeRegistry::initialize();
135 SecurityPolicy::init(); 134 SecurityPolicy::init();
136 135
137 registerEventFactory(); 136 registerEventFactory();
(...skipping 18 matching lines...) Expand all
156 // cleared. 155 // cleared.
157 ASSERT(Platform::current()); 156 ASSERT(Platform::current());
158 HTMLParserThread::shutdown(); 157 HTMLParserThread::shutdown();
159 158
160 Platform::current()->unregisterMemoryDumpProvider(WebCacheMemoryDumpProvider ::instance()); 159 Platform::current()->unregisterMemoryDumpProvider(WebCacheMemoryDumpProvider ::instance());
161 160
162 WorkerThread::terminateAndWaitForAllWorkers(); 161 WorkerThread::terminateAndWaitForAllWorkers();
163 } 162 }
164 163
165 } // namespace blink 164 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698