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 "destructor_access_finalized_field.h"
9 HeapObject::~HeapObject()
11 // Valid access to fields.
12 if (m_ref
->foo() && !m_obj
)
15 // Invalid access to fields.
21 void HeapObject::trace(Visitor
* visitor
)
23 visitor
->trace(m_obj
);
24 visitor
->trace(m_objs
);