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

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

Issue 2002383002: Avoid string allocation when parsing CSSPrimitiveValue::UnitType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 EventTargetNames::init(); 116 EventTargetNames::init();
117 EventTypeNames::init(); 117 EventTypeNames::init();
118 FetchInitiatorTypeNames::init(); 118 FetchInitiatorTypeNames::init();
119 FontFamilyNames::init(); 119 FontFamilyNames::init();
120 HTMLTokenizerNames::init(); 120 HTMLTokenizerNames::init();
121 HTTPNames::init(); 121 HTTPNames::init();
122 InputTypeNames::init(); 122 InputTypeNames::init();
123 MediaFeatureNames::init(); 123 MediaFeatureNames::init();
124 MediaTypeNames::init(); 124 MediaTypeNames::init();
125 125
126 CSSPrimitiveValue::initUnitTable();
127 CSSParserTokenRange::initStaticEOFToken(); 126 CSSParserTokenRange::initStaticEOFToken();
128 127
129 StyleChangeExtraData::init(); 128 StyleChangeExtraData::init();
130 129
131 EventTracer::initialize(); 130 EventTracer::initialize();
132 KURL::initialize(); 131 KURL::initialize();
133 SchemeRegistry::initialize(); 132 SchemeRegistry::initialize();
134 SecurityPolicy::init(); 133 SecurityPolicy::init();
135 134
136 registerEventFactory(); 135 registerEventFactory();
(...skipping 14 matching lines...) Expand all
151 150
152 // Make sure we stop the HTMLParserThread before Platform::current() is 151 // Make sure we stop the HTMLParserThread before Platform::current() is
153 // cleared. 152 // cleared.
154 ASSERT(Platform::current()); 153 ASSERT(Platform::current());
155 HTMLParserThread::shutdown(); 154 HTMLParserThread::shutdown();
156 155
157 WorkerThread::terminateAndWaitForAllWorkers(); 156 WorkerThread::terminateAndWaitForAllWorkers();
158 } 157 }
159 158
160 } // namespace blink 159 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698