| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 NodeRareDataBase(LayoutObject* layoutObject) | 106 NodeRareDataBase(LayoutObject* layoutObject) |
| 107 : m_layoutObject(layoutObject) | 107 : m_layoutObject(layoutObject) |
| 108 { } | 108 { } |
| 109 | 109 |
| 110 protected: | 110 protected: |
| 111 LayoutObject* m_layoutObject; | 111 LayoutObject* m_layoutObject; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 class Node; | 114 class Node; |
| 115 WILL_NOT_BE_EAGERLY_TRACED_CLASS(Node); | 115 WILL_NOT_BE_EAGERLY_TRACED_CLASS(Node); |
| 116 WILL_HAVE_ALL_INSTANCES_ON_SAME_GC_HEAP(Node); |
| 116 | 117 |
| 117 #if ENABLE(OILPAN) | 118 #if ENABLE(OILPAN) |
| 118 #define NODE_BASE_CLASSES public EventTarget | 119 #define NODE_BASE_CLASSES public EventTarget |
| 119 #else | 120 #else |
| 120 // TreeShared should be the last to pack TreeShared::m_refCount and | 121 // TreeShared should be the last to pack TreeShared::m_refCount and |
| 121 // Node::m_nodeFlags on 64bit platforms. | 122 // Node::m_nodeFlags on 64bit platforms. |
| 122 #define NODE_BASE_CLASSES public EventTarget, public TreeShared<Node> | 123 #define NODE_BASE_CLASSES public EventTarget, public TreeShared<Node> |
| 123 #endif | 124 #endif |
| 124 | 125 |
| 125 class GC_PLUGIN_IGNORE("crbug.com/443854") Node : NODE_BASE_CLASSES { | 126 class GC_PLUGIN_IGNORE("crbug.com/443854") Node : NODE_BASE_CLASSES { |
| (...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 } // namespace blink | 901 } // namespace blink |
| 901 | 902 |
| 902 #ifndef NDEBUG | 903 #ifndef NDEBUG |
| 903 // Outside the WebCore namespace for ease of invocation from gdb. | 904 // Outside the WebCore namespace for ease of invocation from gdb. |
| 904 void showNode(const blink::Node*); | 905 void showNode(const blink::Node*); |
| 905 void showTree(const blink::Node*); | 906 void showTree(const blink::Node*); |
| 906 void showNodePath(const blink::Node*); | 907 void showNodePath(const blink::Node*); |
| 907 #endif | 908 #endif |
| 908 | 909 |
| 909 #endif // Node_h | 910 #endif // Node_h |
| OLD | NEW |