Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / tools / clang / blink_gc_plugin / tests / base_class_must_define_virtual_trace.cpp
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 "base_class_must_define_virtual_trace.h"
6
7 namespace blink {
8
9 void PartDerived::trace(Visitor* visitor)
10 {
11 }
12
13 void HeapDerived::trace(Visitor* visitor)
14 {
15     visitor->trace(m_part);
16 }
17
18
19 }