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

Unified Diff: Source/core/dom/Node.h

Issue 324073002: Oilpan: Switch RefCountedGarbageCollected to GarbageCollectedFinalized for Node. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/ProcessingInstruction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index ab6025ec6b05c7eb185dfea346072bce1dfc687f..f1908e8a0c951445f9198f60917d31d207c1a0fd 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -107,12 +107,12 @@ private:
RenderObject* m_renderer;
};
-class Node : public EventTarget, public ScriptWrappable, public TreeSharedWillBeRefCountedGarbageCollected<Node> {
+class Node : public EventTarget, public ScriptWrappable, public TreeSharedWillBeGarbageCollectedFinalized<Node> {
haraken 2014/06/11 04:47:55 GarbageCollectedFinalized should be the left-most
haraken 2014/06/11 04:47:55 Ian: This is a question not related to this CL, bu
haraken 2014/06/11 04:59:04 On the other hand, I remembered that TreeShared mu
Mads Ager (chromium) 2014/06/11 05:48:22 It seems that we got lucky that the layout of the
Mads Ager (chromium) 2014/06/11 05:48:22 Yes, Ian's change to move all EventTargets to the
tkent 2014/06/12 10:12:49 Done.
friend class Document;
friend class TreeScope;
friend class TreeScopeAdopter;
- DEFINE_EVENT_TARGET_REFCOUNTING(TreeSharedWillBeRefCountedGarbageCollected<Node>);
+ DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(TreeSharedWillBeGarbageCollectedFinalized<Node>);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Node);
public:
enum NodeType {
@@ -903,7 +903,7 @@ DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Node)
#define DEFINE_NODE_FACTORY(T) \
PassRefPtrWillBeRawPtr<T> T::create(Document& document) \
{ \
- return adoptRefWillBeRefCountedGarbageCollected(new T(document)); \
+ return adoptRefWillBeNoop(new T(document)); \
}
} // namespace WebCore
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/ProcessingInstruction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698