OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 #ifndef NodeRareData_h | 22 #ifndef NodeRareData_h |
23 #define NodeRareData_h | 23 #define NodeRareData_h |
24 | 24 |
25 #include "core/dom/ChildNodeList.h" | 25 #include "core/dom/ChildNodeList.h" |
26 #include "core/dom/EmptyNodeList.h" | 26 #include "core/dom/EmptyNodeList.h" |
27 #include "core/dom/LiveNodeList.h" | 27 #include "core/dom/LiveNodeList.h" |
28 #include "core/dom/MutationObserverRegistration.h" | 28 #include "core/dom/MutationObserverRegistration.h" |
29 #include "core/dom/QualifiedName.h" | 29 #include "core/dom/QualifiedName.h" |
30 #include "core/dom/TagCollection.h" | 30 #include "core/dom/TagCollection.h" |
31 #include "core/page/Page.h" | |
32 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
33 #include "wtf/HashSet.h" | 32 #include "wtf/HashSet.h" |
34 #include "wtf/OwnPtr.h" | 33 #include "wtf/OwnPtr.h" |
35 #include "wtf/PassOwnPtr.h" | 34 #include "wtf/PassOwnPtr.h" |
36 #include "wtf/text/AtomicString.h" | 35 #include "wtf/text/AtomicString.h" |
37 #include "wtf/text/StringHash.h" | 36 #include "wtf/text/StringHash.h" |
38 | 37 |
39 namespace WebCore { | 38 namespace WebCore { |
40 | 39 |
41 class LabelsNodeList; | 40 class LabelsNodeList; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 if ((m_childNodeList ? 1 : 0) + m_atomicNameCaches.size() + m_tagCollectionC
acheNS.size() != 1) | 338 if ((m_childNodeList ? 1 : 0) + m_atomicNameCaches.size() + m_tagCollectionC
acheNS.size() != 1) |
340 return false; | 339 return false; |
341 ownerNode.clearNodeLists(); | 340 ownerNode.clearNodeLists(); |
342 return true; | 341 return true; |
343 } | 342 } |
344 #endif | 343 #endif |
345 | 344 |
346 } // namespace WebCore | 345 } // namespace WebCore |
347 | 346 |
348 #endif // NodeRareData_h | 347 #endif // NodeRareData_h |
OLD | NEW |