Roll src/third_party/WebKit d10c917:a1123a1 (svn 198729:198730)
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / tests / class_multiple_trace_bases.h
blobb362ec921b5c9ff97f05666124afad954b0db5e0
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 #ifndef CLASS_MULTIPLE_TRACE_BASES_H_
6 #define CLASS_MULTIPLE_TRACE_BASES_H_
8 #include "heap/stubs.h"
10 namespace blink {
12 class Base : public GarbageCollected<Base> {
13 public:
14 virtual void trace(Visitor*);
17 class Mixin : public GarbageCollectedMixin {
18 public:
19 void trace(Visitor*);
22 class Derived : public Base, public Mixin {
23 USING_GARBAGE_COLLECTED_MIXIN(HeapObject);
24 // Requires trace method.
29 #endif