| OLD | NEW |
| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 FontFamilyNames::init(); | 62 FontFamilyNames::init(); |
| 63 MediaFeatureNames::init(); | 63 MediaFeatureNames::init(); |
| 64 MediaTypeNames::init(); | 64 MediaTypeNames::init(); |
| 65 | 65 |
| 66 // It would make logical sense to do this in WTF::initialize() but there are | 66 // It would make logical sense to do this in WTF::initialize() but there are |
| 67 // ordering dependencies, e.g. about "xmlns". | 67 // ordering dependencies, e.g. about "xmlns". |
| 68 WTF::StringStatics::init(); | 68 WTF::StringStatics::init(); |
| 69 | 69 |
| 70 QualifiedName::init(); | 70 QualifiedName::init(); |
| 71 Partitions::init(); | 71 Partitions::init(); |
| 72 EventTracer::initialize(); | |
| 73 | 72 |
| 74 // Ensure that the main thread's thread-local data is initialized before | 73 // Ensure that the main thread's thread-local data is initialized before |
| 75 // starting any worker threads. | 74 // starting any worker threads. |
| 76 PlatformThreadData::current(); | 75 PlatformThreadData::current(); |
| 77 | 76 |
| 78 StringImpl::freezeStaticStrings(); | 77 StringImpl::freezeStaticStrings(); |
| 79 | 78 |
| 80 HTMLParserThread::start(); | 79 HTMLParserThread::start(); |
| 81 } | 80 } |
| 82 | 81 |
| 83 void CoreInitializer::shutdown() | 82 void CoreInitializer::shutdown() |
| 84 { | 83 { |
| 85 HTMLParserThread::stop(); | 84 HTMLParserThread::stop(); |
| 86 Partitions::shutdown(); | 85 Partitions::shutdown(); |
| 87 } | 86 } |
| 88 | 87 |
| 89 } // namespace blink | 88 } // namespace blink |
| OLD | NEW |