1 // Copyright 2016 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_illegal_tracing.h" 6 7 namespace blink { 8 9 void PartObject::Trace(Visitor* visitor) { 10 visitor->Trace(m_obj1); 11 visitor->Trace(m_obj2); 12 visitor->Trace(m_obj3); 13 visitor->Trace(m_obj4); 14 } 15 16 void HeapObject::Trace(Visitor* visitor) { 17 visitor->Trace(m_obj1); 18 visitor->Trace(m_obj2); 19 visitor->Trace(m_obj3); 20 visitor->Trace(m_obj4); 21 } 22 23 } 24