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

Side by Side Diff: sky/engine/core/dom/Node.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/dom/MutationRecord.cpp ('k') | sky/engine/core/dom/NodeList.h » ('j') | no next file with comments »
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 class NodeRareDataBase { 91 class NodeRareDataBase {
92 public: 92 public:
93 RenderObject* renderer() const { return m_renderer; } 93 RenderObject* renderer() const { return m_renderer; }
94 void setRenderer(RenderObject* renderer) { m_renderer = renderer; } 94 void setRenderer(RenderObject* renderer) { m_renderer = renderer; }
95 95
96 protected: 96 protected:
97 NodeRareDataBase(RenderObject* renderer) 97 NodeRareDataBase(RenderObject* renderer)
98 : m_renderer(renderer) 98 : m_renderer(renderer)
99 { } 99 { }
100 100
101 protected: 101 private:
102 // Oilpan: This member is traced in NodeRareData.
103 // FIXME: Can we add traceAfterDispatch and finalizeGarbageCollectedObject
104 // to NodeRareDataBase, and make m_renderer Member<>?
105 RenderObject* m_renderer; 102 RenderObject* m_renderer;
106 }; 103 };
107 104
108 // TreeShared should be the last to pack TreeShared::m_refCount and 105 // TreeShared should be the last to pack TreeShared::m_refCount and
109 // Node::m_nodeFlags on 64bit platforms. 106 // Node::m_nodeFlags on 64bit platforms.
110 class Node : public EventTarget, public TreeShared<Node> { 107 class Node : public EventTarget, public TreeShared<Node> {
111 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(TreeShared<Node>); 108 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(TreeShared<Node>);
112 DEFINE_WRAPPERTYPEINFO(); 109 DEFINE_WRAPPERTYPEINFO();
113 friend class Document; 110 friend class Document;
114 friend class TreeScope; 111 friend class TreeScope;
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 } // namespace blink 753 } // namespace blink
757 754
758 #ifndef NDEBUG 755 #ifndef NDEBUG
759 // Outside the WebCore namespace for ease of invocation from gdb. 756 // Outside the WebCore namespace for ease of invocation from gdb.
760 void showNode(const blink::Node*); 757 void showNode(const blink::Node*);
761 void showTree(const blink::Node*); 758 void showTree(const blink::Node*);
762 void showNodePath(const blink::Node*); 759 void showNodePath(const blink::Node*);
763 #endif 760 #endif
764 761
765 #endif // Node_h 762 #endif // Node_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/MutationRecord.cpp ('k') | sky/engine/core/dom/NodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698