Index: Source/core/dom/ElementData.h |
diff --git a/Source/core/dom/ElementData.h b/Source/core/dom/ElementData.h |
index 407d55edd6e9e9408785db61367bdf8d4444a652..1e3d9427a9c3d55a0cc25ec814e8027c3f07ba52 100644 |
--- a/Source/core/dom/ElementData.h |
+++ b/Source/core/dom/ElementData.h |
@@ -79,8 +79,8 @@ public: |
bool isUnique() const { return m_isUnique; } |
- void traceAfterDispatch(Visitor*); |
- void trace(Visitor*); |
+ DECLARE_TRACE_AFTER_DISPATCH(); |
haraken
2015/02/24 09:18:36
Add a comment on why we need traceAfterDispatch.
|
+ DECLARE_TRACE(); |
protected: |
ElementData(); |
@@ -132,7 +132,7 @@ public: |
explicit ShareableElementData(const UniqueElementData&); |
~ShareableElementData(); |
- void traceAfterDispatch(Visitor* visitor) { ElementData::traceAfterDispatch(visitor); } |
+ DEFINE_INLINE_TRACE_AFTER_DISPATCH() { ElementData::traceAfterDispatch(visitor); } |
// Add support for placement new as ShareableElementData is not allocated |
// with a fixed size. Instead the allocated memory size is computed based on |
@@ -173,7 +173,7 @@ public: |
explicit UniqueElementData(const ShareableElementData&); |
explicit UniqueElementData(const UniqueElementData&); |
- void traceAfterDispatch(Visitor*); |
+ DECLARE_TRACE_AFTER_DISPATCH(); |
// FIXME: We might want to support sharing element data for elements with |
// presentation attribute style. Lots of table cells likely have the same |