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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 class NodeRareDataBase { | 98 class NodeRareDataBase { |
99 public: | 99 public: |
100 RenderObject* renderer() const { return m_renderer; } | 100 RenderObject* renderer() const { return m_renderer; } |
101 void setRenderer(RenderObject* renderer) { m_renderer = renderer; } | 101 void setRenderer(RenderObject* renderer) { m_renderer = renderer; } |
102 | 102 |
103 protected: | 103 protected: |
104 NodeRareDataBase(RenderObject* renderer) | 104 NodeRareDataBase(RenderObject* renderer) |
105 : m_renderer(renderer) | 105 : m_renderer(renderer) |
106 { } | 106 { } |
107 | 107 |
108 protected: | 108 private: |
109 // Oilpan: This member is traced in NodeRareData. | |
110 // FIXME: Can we add traceAfterDispatch and finalizeGarbageCollectedObject | |
111 // to NodeRareDataBase, and make m_renderer Member<>? | |
112 RenderObject* m_renderer; | 109 RenderObject* m_renderer; |
113 }; | 110 }; |
114 | 111 |
115 #if ENABLE(OILPAN) | 112 #if ENABLE(OILPAN) |
116 #define NODE_BASE_CLASSES public GarbageCollectedFinalized<Node>, public EventTa
rget | 113 #define NODE_BASE_CLASSES public GarbageCollectedFinalized<Node>, public EventTa
rget |
117 #else | 114 #else |
118 // TreeShared should be the last to pack TreeShared::m_refCount and | 115 // TreeShared should be the last to pack TreeShared::m_refCount and |
119 // Node::m_nodeFlags on 64bit platforms. | 116 // Node::m_nodeFlags on 64bit platforms. |
120 #define NODE_BASE_CLASSES public EventTarget, public TreeShared<Node> | 117 #define NODE_BASE_CLASSES public EventTarget, public TreeShared<Node> |
121 #endif | 118 #endif |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 } // namespace blink | 884 } // namespace blink |
888 | 885 |
889 #ifndef NDEBUG | 886 #ifndef NDEBUG |
890 // Outside the WebCore namespace for ease of invocation from gdb. | 887 // Outside the WebCore namespace for ease of invocation from gdb. |
891 void showNode(const blink::Node*); | 888 void showNode(const blink::Node*); |
892 void showTree(const blink::Node*); | 889 void showTree(const blink::Node*); |
893 void showNodePath(const blink::Node*); | 890 void showNodePath(const blink::Node*); |
894 #endif | 891 #endif |
895 | 892 |
896 #endif | 893 #endif |
OLD | NEW |