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 21 matching lines...) Expand all Loading... |
32 #include "Init.h" | 32 #include "Init.h" |
33 | 33 |
34 #include "FontFamilyNames.h" | 34 #include "FontFamilyNames.h" |
35 #include "HTMLNames.h" | 35 #include "HTMLNames.h" |
36 #include "MathMLNames.h" | 36 #include "MathMLNames.h" |
37 #include "SVGNames.h" | 37 #include "SVGNames.h" |
38 #include "XLinkNames.h" | 38 #include "XLinkNames.h" |
39 #include "XMLNSNames.h" | 39 #include "XMLNSNames.h" |
40 #include "XMLNames.h" | 40 #include "XMLNames.h" |
41 #include "core/css/MediaFeatureNames.h" | 41 #include "core/css/MediaFeatureNames.h" |
42 #include "core/dom/Node.h" | 42 #include "core/platform/Partitions.h" |
43 #include "wtf/text/StringStatics.h" | 43 #include "wtf/text/StringStatics.h" |
44 | 44 |
45 namespace WebCore { | 45 namespace WebCore { |
46 | 46 |
47 void init() | 47 void init() |
48 { | 48 { |
49 static bool isInited; | 49 static bool isInited; |
50 if (isInited) | 50 if (isInited) |
51 return; | 51 return; |
52 isInited = true; | 52 isInited = true; |
53 | 53 |
54 AtomicString::init(); | 54 AtomicString::init(); |
55 HTMLNames::init(); | 55 HTMLNames::init(); |
56 SVGNames::init(); | 56 SVGNames::init(); |
57 XLinkNames::init(); | 57 XLinkNames::init(); |
58 MathMLNames::init(); | 58 MathMLNames::init(); |
59 XMLNSNames::init(); | 59 XMLNSNames::init(); |
60 XMLNames::init(); | 60 XMLNames::init(); |
61 FontFamilyNames::init(); | 61 FontFamilyNames::init(); |
62 MediaFeatureNames::init(); | 62 MediaFeatureNames::init(); |
63 WTF::StringStatics::init(); | 63 WTF::StringStatics::init(); |
64 QualifiedName::init(); | 64 QualifiedName::init(); |
65 Node::init(); | 65 Partitions::init(); |
66 } | 66 } |
67 | 67 |
68 void shutdown() | 68 void shutdown() |
69 { | 69 { |
70 Node::shutdown(); | 70 Partitions::shutdown(); |
71 } | 71 } |
72 | 72 |
73 } // namespace WebCore | 73 } // namespace WebCore |
OLD | NEW |