| Index: tools/clang/blink_gc_plugin/tests/class_requires_trace_method_tmpl.h
 | 
| diff --git a/tools/clang/blink_gc_plugin/tests/class_requires_trace_method_tmpl.h b/tools/clang/blink_gc_plugin/tests/class_requires_trace_method_tmpl.h
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..b24b1ddfdf229a03845ed525eb9247d240d1d4f8
 | 
| --- /dev/null
 | 
| +++ b/tools/clang/blink_gc_plugin/tests/class_requires_trace_method_tmpl.h
 | 
| @@ -0,0 +1,34 @@
 | 
| +// 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 CLASS_REQUIRES_TRACE_METHOD_TMPL_H_
 | 
| +#define CLASS_REQUIRES_TRACE_METHOD_TMPL_H_
 | 
| +
 | 
| +#include "heap/stubs.h"
 | 
| +
 | 
| +namespace blink {
 | 
| +
 | 
| +class HeapObject : public GarbageCollected<HeapObject> { };
 | 
| +
 | 
| +class PartObjectA {
 | 
| +    DISALLOW_ALLOCATION();
 | 
| +};
 | 
| +
 | 
| +class PartObjectB {
 | 
| +    DISALLOW_ALLOCATION();
 | 
| +public:
 | 
| +    void trace(Visitor* visitor) { visitor->trace(m_obj); }
 | 
| +private:
 | 
| +    Member<HeapObject> m_obj;
 | 
| +};
 | 
| +
 | 
| +template<typename T>
 | 
| +class TemplatedObject {
 | 
| +private:
 | 
| +    T m_part;
 | 
| +};
 | 
| +
 | 
| +}
 | 
| +
 | 
| +#endif
 | 
| 
 |