aboutsummaryrefslogtreecommitdiff
path: root/tools/clang/blink_gc_plugin/tests/destructor_in_nonfinalized_class.h
blob: f3fa506a4ca05277cdc729c09aca95b03731f0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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