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 26 matching lines...) Expand all Loading... |
37 #include "FetchInitiatorTypeNames.h" | 37 #include "FetchInitiatorTypeNames.h" |
38 #include "FontFamilyNames.h" | 38 #include "FontFamilyNames.h" |
39 #include "HTMLNames.h" | 39 #include "HTMLNames.h" |
40 #include "InputTypeNames.h" | 40 #include "InputTypeNames.h" |
41 #include "MathMLNames.h" | 41 #include "MathMLNames.h" |
42 #include "SVGNames.h" | 42 #include "SVGNames.h" |
43 #include "XLinkNames.h" | 43 #include "XLinkNames.h" |
44 #include "XMLNSNames.h" | 44 #include "XMLNSNames.h" |
45 #include "XMLNames.h" | 45 #include "XMLNames.h" |
46 #include "core/css/MediaFeatureNames.h" | 46 #include "core/css/MediaFeatureNames.h" |
47 #include "heap/Heap.h" | |
48 #include "platform/EventTracer.h" | 47 #include "platform/EventTracer.h" |
49 #include "platform/Partitions.h" | 48 #include "platform/Partitions.h" |
50 #include "platform/PlatformThreadData.h" | 49 #include "platform/PlatformThreadData.h" |
51 #include "wtf/text/StringStatics.h" | 50 #include "wtf/text/StringStatics.h" |
52 | 51 |
53 namespace WebCore { | 52 namespace WebCore { |
54 | 53 |
55 void init() | 54 void init() |
56 { | 55 { |
57 static bool isInited; | 56 static bool isInited; |
(...skipping 14 matching lines...) Expand all Loading... |
72 EventTargetNames::init(); | 71 EventTargetNames::init(); |
73 EventTypeNames::init(); | 72 EventTypeNames::init(); |
74 FetchInitiatorTypeNames::init(); | 73 FetchInitiatorTypeNames::init(); |
75 FontFamilyNames::init(); | 74 FontFamilyNames::init(); |
76 InputTypeNames::init(); | 75 InputTypeNames::init(); |
77 MediaFeatureNames::init(); | 76 MediaFeatureNames::init(); |
78 WTF::StringStatics::init(); | 77 WTF::StringStatics::init(); |
79 QualifiedName::init(); | 78 QualifiedName::init(); |
80 Partitions::init(); | 79 Partitions::init(); |
81 EventTracer::initialize(); | 80 EventTracer::initialize(); |
82 Heap::init(); | |
83 | 81 |
84 // Ensure that the main thread's thread-local data is initialized before | 82 // Ensure that the main thread's thread-local data is initialized before |
85 // starting any worker threads. | 83 // starting any worker threads. |
86 PlatformThreadData::current(); | 84 PlatformThreadData::current(); |
87 | 85 |
88 StringImpl::freezeStaticStrings(); | 86 StringImpl::freezeStaticStrings(); |
89 } | 87 } |
90 | 88 |
91 void shutdown() | 89 void shutdown() |
92 { | 90 { |
93 Heap::shutdown(); | |
94 Partitions::shutdown(); | 91 Partitions::shutdown(); |
95 } | 92 } |
96 | 93 |
97 } // namespace WebCore | 94 } // namespace WebCore |
OLD | NEW |