aboutsummaryrefslogtreecommitdiff
path: root/tools/clang/blink_gc_plugin/tests/crash_on_invalid.h
blob: c6ce1eeb0559d62f3b03b9b4114456e6f5fa33df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2014 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.

// Regression test for http://crbug.com/421958

#ifndef CRASH_ON_INVALID_H_
#define CRASH_ON_INVALID_H_

namespace blink {

class Visitor;
class GamepadCommon {};
class ScriptWrappable {};

class Gamepad final : public GarbageCollectedFinalized<Gamepad>,
                      public GamepadCommon,
                      public ScriptWrappable {
public:
    virtual const WrapperTypeInfo *wrapperTypeInfo() const {}
    void Trace(Visitor *);
};

}

#endif