Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / tests / base_requires_tracing.cpp
blob87559a85c8c3e58959d882ac4f3364e7e30b96cb
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 "base_requires_tracing.h"
7 namespace blink {
9 void A::trace(Visitor* visitor) { }
11 void C::trace(Visitor* visitor) {
12 visitor->trace(m_a);
13 // Missing B::trace(visitor)
16 void D::trace(Visitor* visitor) {
17 visitor->trace(m_a);
18 C::trace(visitor);