OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 public: | 101 public: |
102 LayoutObject* renderer() const { return m_renderer; } | 102 LayoutObject* renderer() const { return m_renderer; } |
103 void setRenderer(LayoutObject* renderer) { m_renderer = renderer; } | 103 void setRenderer(LayoutObject* renderer) { m_renderer = renderer; } |
104 | 104 |
105 protected: | 105 protected: |
106 NodeRareDataBase(LayoutObject* renderer) | 106 NodeRareDataBase(LayoutObject* renderer) |
107 : m_renderer(renderer) | 107 : m_renderer(renderer) |
108 { } | 108 { } |
109 | 109 |
110 protected: | 110 protected: |
111 // Oilpan: This member is traced in NodeRareData. | |
112 // FIXME: Can we add traceAfterDispatch and finalizeGarbageCollectedObject | |
113 // to NodeRareDataBase, and make m_renderer Member<>? | |
114 LayoutObject* m_renderer; | 111 LayoutObject* m_renderer; |
115 }; | 112 }; |
116 | 113 |
117 class Node; | 114 class Node; |
118 WILL_NOT_BE_EAGERLY_TRACED_CLASS(Node); | 115 WILL_NOT_BE_EAGERLY_TRACED_CLASS(Node); |
119 | 116 |
120 #if ENABLE(OILPAN) | 117 #if ENABLE(OILPAN) |
121 #define NODE_BASE_CLASSES public EventTarget | 118 #define NODE_BASE_CLASSES public EventTarget |
122 #else | 119 #else |
123 // TreeShared should be the last to pack TreeShared::m_refCount and | 120 // TreeShared should be the last to pack TreeShared::m_refCount and |
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 } // namespace blink | 902 } // namespace blink |
906 | 903 |
907 #ifndef NDEBUG | 904 #ifndef NDEBUG |
908 // Outside the WebCore namespace for ease of invocation from gdb. | 905 // Outside the WebCore namespace for ease of invocation from gdb. |
909 void showNode(const blink::Node*); | 906 void showNode(const blink::Node*); |
910 void showTree(const blink::Node*); | 907 void showTree(const blink::Node*); |
911 void showNodePath(const blink::Node*); | 908 void showNodePath(const blink::Node*); |
912 #endif | 909 #endif |
913 | 910 |
914 #endif // Node_h | 911 #endif // Node_h |
OLD | NEW |