| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 void clearRestyleFlags() { m_restyleFlags = 0; } | 95 void clearRestyleFlags() { m_restyleFlags = 0; } |
| 96 | 96 |
| 97 enum { | 97 enum { |
| 98 ConnectedFrameCountBits = 10, // Must fit Page::maxNumberOfFrames. | 98 ConnectedFrameCountBits = 10, // Must fit Page::maxNumberOfFrames. |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 DECLARE_TRACE(); | 101 DECLARE_TRACE(); |
| 102 | 102 |
| 103 DECLARE_TRACE_AFTER_DISPATCH(); | 103 DECLARE_TRACE_AFTER_DISPATCH(); |
| 104 void finalizeGarbageCollectedObject(); | 104 void finalizeGarbageCollectedObject(); |
| 105 DECLARE_NONVIRTUAL_TRACE_WRAPPERS(); |
| 105 | 106 |
| 106 protected: | 107 protected: |
| 107 explicit NodeRareData(LayoutObject* layoutObject) | 108 explicit NodeRareData(LayoutObject* layoutObject) |
| 108 : NodeRareDataBase(layoutObject) | 109 : NodeRareDataBase(layoutObject) |
| 109 , m_connectedFrameCount(0) | 110 , m_connectedFrameCount(0) |
| 110 , m_elementFlags(0) | 111 , m_elementFlags(0) |
| 111 , m_restyleFlags(0) | 112 , m_restyleFlags(0) |
| 112 , m_isElementRareData(false) | 113 , m_isElementRareData(false) |
| 113 { } | 114 { } |
| 114 | 115 |
| 115 private: | 116 private: |
| 116 Member<NodeListsNodeData> m_nodeLists; | 117 Member<NodeListsNodeData> m_nodeLists; |
| 117 Member<NodeMutationObserverData> m_mutationObserverData; | 118 Member<NodeMutationObserverData> m_mutationObserverData; |
| 118 | 119 |
| 119 unsigned m_connectedFrameCount : ConnectedFrameCountBits; | 120 unsigned m_connectedFrameCount : ConnectedFrameCountBits; |
| 120 unsigned m_elementFlags : NumberOfElementFlags; | 121 unsigned m_elementFlags : NumberOfElementFlags; |
| 121 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags; | 122 unsigned m_restyleFlags : NumberOfDynamicRestyleFlags; |
| 122 protected: | 123 protected: |
| 123 unsigned m_isElementRareData : 1; | 124 unsigned m_isElementRareData : 1; |
| 124 }; | 125 }; |
| 125 | 126 |
| 126 } // namespace blink | 127 } // namespace blink |
| 127 | 128 |
| 128 #endif // NodeRareData_h | 129 #endif // NodeRareData_h |
| OLD | NEW |