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 |