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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 53 } |
54 for (auto registration : transientRegistry) { | 54 for (auto registration : transientRegistry) { |
55 visitor->traceWrappers(registration); | 55 visitor->traceWrappers(registration); |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 private: | 59 private: |
60 NodeMutationObserverData() { } | 60 NodeMutationObserverData() { } |
61 }; | 61 }; |
62 | 62 |
63 class NodeRareData : public GarbageCollectedFinalized<NodeRareData>, public Node
RareDataBase { | 63 class CORE_EXPORT NodeRareData : public GarbageCollectedFinalized<NodeRareData>,
public NodeRareDataBase { |
64 WTF_MAKE_NONCOPYABLE(NodeRareData); | 64 WTF_MAKE_NONCOPYABLE(NodeRareData); |
65 public: | 65 public: |
66 static NodeRareData* create(LayoutObject* layoutObject) | 66 static NodeRareData* create(LayoutObject* layoutObject) |
67 { | 67 { |
68 return new NodeRareData(layoutObject); | 68 return new NodeRareData(layoutObject); |
69 } | 69 } |
70 | 70 |
71 void clearNodeLists() { m_nodeLists.clear(); } | 71 void clearNodeLists() { m_nodeLists.clear(); } |
72 NodeListsNodeData* nodeLists() const { return m_nodeLists.get(); } | 72 NodeListsNodeData* nodeLists() const { return m_nodeLists.get(); } |
73 NodeListsNodeData& ensureNodeLists() | 73 NodeListsNodeData& ensureNodeLists() |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 unsigned m_connectedFrameCount : ConnectedFrameCountBits; | 132 unsigned m_connectedFrameCount : ConnectedFrameCountBits; |
133 unsigned m_elementFlags : NumberOfElementFlags; | 133 unsigned m_elementFlags : NumberOfElementFlags; |
134 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags; | 134 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags; |
135 protected: | 135 protected: |
136 unsigned m_isElementRareData : 1; | 136 unsigned m_isElementRareData : 1; |
137 }; | 137 }; |
138 | 138 |
139 } // namespace blink | 139 } // namespace blink |
140 | 140 |
141 #endif // NodeRareData_h | 141 #endif // NodeRareData_h |
OLD | NEW |