// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MAKE_UNIQUE_GC_OBJECT_H_ #define MAKE_UNIQUE_GC_OBJECT_H_ #include "heap/stubs.h" namespace blink { class Base : public GarbageCollected { public: virtual void Trace(Visitor*) {} }; class Derived : public Base { public: void Trace(Visitor* visitor) override { Base::Trace(visitor); } }; class Mixin : public GarbageCollectedMixin { public: void Trace(Visitor*) {} }; } // namespace blink #endif // MAKE_UNIQUE_GC_OBJECT_H_