1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "trace_templated_super.h"
10 void Super
<T
>::clearWeakMembers(Visitor
* visitor
)
16 void Super
<T
>::trace(Visitor
* visitor
)
18 visitor
->registerWeakMembers
<Super
<T
>, &Super
<T
>::clearWeakMembers
>(this);
19 visitor
->trace(m_obj
);
20 Mixin::trace(visitor
);
24 void Sub
<T
>::trace(Visitor
* visitor
)
26 // Missing trace of m_obj.
27 Super
<T
>::trace(visitor
);
30 void HeapObject::trace(Visitor
* visitor
)
32 visitor
->trace(m_obj
);
33 Sub
<HeapObject
>::trace(visitor
);