OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef CustomElementRegistry_h | 31 #ifndef CustomElementRegistry_h |
32 #define CustomElementRegistry_h | 32 #define CustomElementRegistry_h |
33 | 33 |
34 #include "core/dom/ContextLifecycleObserver.h" | 34 #include "core/dom/ContextLifecycleObserver.h" |
35 #include "core/dom/CustomElementUpgradeCandidateMap.h" | 35 #include "core/dom/CustomElementUpgradeCandidateMap.h" |
36 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
37 #include "core/dom/QualifiedName.h" | 37 #include "core/dom/QualifiedName.h" |
38 #include "wtf/HashSet.h" | |
39 #include "wtf/ListHashSet.h" | 38 #include "wtf/ListHashSet.h" |
40 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
41 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
42 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
43 #include "wtf/Vector.h" | 42 #include "wtf/Vector.h" |
44 #include "wtf/text/AtomicString.h" | 43 #include "wtf/text/AtomicString.h" |
45 #include "wtf/text/AtomicStringHash.h" | 44 #include "wtf/text/AtomicStringHash.h" |
46 | 45 |
47 namespace WebCore { | 46 namespace WebCore { |
48 | 47 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 inline CustomElementRegistry::InstanceSet& CustomElementRegistry::activeCustomEl
ementRegistries() | 125 inline CustomElementRegistry::InstanceSet& CustomElementRegistry::activeCustomEl
ementRegistries() |
127 { | 126 { |
128 DEFINE_STATIC_LOCAL(InstanceSet, activeInstances, ()); | 127 DEFINE_STATIC_LOCAL(InstanceSet, activeInstances, ()); |
129 return activeInstances; | 128 return activeInstances; |
130 } | 129 } |
131 | 130 |
132 | 131 |
133 } // namespace WebCore | 132 } // namespace WebCore |
134 | 133 |
135 #endif | 134 #endif |
OLD | NEW |