Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CLASS_REQUIRES_FINALIZATION_H_ | 5 #ifndef CLASS_REQUIRES_finalIZATION_H_ |
|
Ben Goodger (Google)
2014/10/07 19:47:03
etc
MRV
2014/10/08 03:12:08
Done.
| |
| 6 #define CLASS_REQUIRES_FINALIZATION_H_ | 6 #define CLASS_REQUIRES_finalIZATION_H_ |
| 7 | 7 |
| 8 #include "heap/stubs.h" | 8 #include "heap/stubs.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 class A : public GarbageCollected<A> { | 12 class A : public GarbageCollected<A> { |
| 13 public: | 13 public: |
| 14 virtual void trace(Visitor*) { } | 14 virtual void trace(Visitor*) { } |
| 15 }; | 15 }; |
| 16 | 16 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 71 public: | 71 public: |
| 72 void trace(Visitor*); | 72 void trace(Visitor*); |
| 73 private: | 73 private: |
| 74 HeapVector<Member<A>, 10> m_as; | 74 HeapVector<Member<A>, 10> m_as; |
| 75 HeapVector<C, 10> m_cs; | 75 HeapVector<C, 10> m_cs; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } | 78 } |
| 79 | 79 |
| 80 #endif | 80 #endif |
| OLD | NEW |