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. 4 5 #include "fields_require_tracing.h" 6 7 namespace blink { 8 9 void PartObject::Trace(Visitor* visitor) { 10 m_obj1->Trace(visitor); // Don't allow direct tracing. 11 visitor->Trace(m_obj2); 12 // Missing visitor->Trace(m_obj3); 13 visitor->Trace(m_parts); 14 } 15 16 void PartBObject::Trace(Visitor* visitor) { 17 // Missing visitor->Trace(m_set); 18 visitor->Trace(m_vector); 19 } 20 21 void HeapObject::Trace(Visitor* visitor) { 22 // Missing visitor->Trace(m_part); 23 visitor->Trace(m_obj); 24 } 25 26 } 27