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