Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: Source/core/dom/Node.h

Issue 423093002: Oilpan: Prepare to move RenderObject and RenderObjectChildList to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add more trace Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/dom/Node.cpp » ('j') | Source/core/frame/FrameView.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 private: 108 protected:
109 // Oilpan: This member is traced in NodeRareData.
110 // FIXME: Can we add traceAfterDispatch and finalizeGarbageCollectedObject
111 // to NodeRareDataBase, and make m_renderer Member<>?
109 RenderObject* m_renderer; 112 RenderObject* m_renderer;
110 }; 113 };
111 114
112 #if ENABLE(OILPAN) 115 #if ENABLE(OILPAN)
113 #define NODE_BASE_CLASSES public GarbageCollectedFinalized<Node>, public EventTa rget 116 #define NODE_BASE_CLASSES public GarbageCollectedFinalized<Node>, public EventTa rget
114 #else 117 #else
115 // TreeShared should be the last to pack TreeShared::m_refCount and 118 // TreeShared should be the last to pack TreeShared::m_refCount and
116 // Node::m_nodeFlags on 64bit platforms. 119 // Node::m_nodeFlags on 64bit platforms.
117 #define NODE_BASE_CLASSES public EventTarget, public TreeShared<Node> 120 #define NODE_BASE_CLASSES public EventTarget, public TreeShared<Node>
118 #endif 121 #endif
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 } // namespace blink 887 } // namespace blink
885 888
886 #ifndef NDEBUG 889 #ifndef NDEBUG
887 // Outside the WebCore namespace for ease of invocation from gdb. 890 // Outside the WebCore namespace for ease of invocation from gdb.
888 void showNode(const blink::Node*); 891 void showNode(const blink::Node*);
889 void showTree(const blink::Node*); 892 void showTree(const blink::Node*);
890 void showNodePath(const blink::Node*); 893 void showNodePath(const blink::Node*);
891 #endif 894 #endif
892 895
893 #endif 896 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Node.cpp » ('j') | Source/core/frame/FrameView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698