| Index: tools/clang/blink_gc_plugin/tests/destructor_in_nonfinalized_class.h
|
| diff --git a/tools/clang/blink_gc_plugin/tests/destructor_in_nonfinalized_class.h b/tools/clang/blink_gc_plugin/tests/destructor_in_nonfinalized_class.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f3fa506a4ca05277cdc729c09aca95b03731f0db
|
| --- /dev/null
|
| +++ b/tools/clang/blink_gc_plugin/tests/destructor_in_nonfinalized_class.h
|
| @@ -0,0 +1,22 @@
|
| +// 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.
|
| +
|
| +#ifndef DESTRUCTOR_IN_NONFINALIZED_CLASS_H_
|
| +#define DESTRUCTOR_IN_NONFINALIZED_CLASS_H_
|
| +
|
| +#include "heap/stubs.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class HeapObject : public GarbageCollected<HeapObject> {
|
| +public:
|
| + ~HeapObject();
|
| + void trace(Visitor*);
|
| +private:
|
| + Member<HeapObject> m_obj;
|
| +};
|
| +
|
| +}
|
| +
|
| +#endif
|
|
|