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 FINALIZE_AFTER_DISPATCH_H_ | 5 #ifndef FINALIZE_AFTER_DISPATCH_H_ |
6 #define FINALIZE_AFTER_DISPATCH_H_ | 6 #define FINALIZE_AFTER_DISPATCH_H_ |
7 | 7 |
8 #include "heap/stubs.h" | 8 #include "heap/stubs.h" |
9 | 9 |
10 namespace WebCore { | 10 namespace blink { |
11 | 11 |
12 class NeedsFinalize : public GarbageCollectedFinalized<NeedsFinalize> { | 12 class NeedsFinalize : public GarbageCollectedFinalized<NeedsFinalize> { |
13 public: | 13 public: |
14 void trace(Visitor*); | 14 void trace(Visitor*); |
15 void traceAfterDispatch(Visitor*); | 15 void traceAfterDispatch(Visitor*); |
16 // Needs a finalizeGarbageCollectedObject method. | 16 // Needs a finalizeGarbageCollectedObject method. |
17 }; | 17 }; |
18 | 18 |
19 class NeedsDispatch : public GarbageCollectedFinalized<NeedsDispatch> { | 19 class NeedsDispatch : public GarbageCollectedFinalized<NeedsDispatch> { |
20 public: | 20 public: |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 public: | 69 public: |
70 D() : Abstract(TD) { } | 70 D() : Abstract(TD) { } |
71 void traceAfterDispatch(Visitor*); | 71 void traceAfterDispatch(Visitor*); |
72 private: | 72 private: |
73 Member<A> m_a; | 73 Member<A> m_a; |
74 }; | 74 }; |
75 | 75 |
76 } | 76 } |
77 | 77 |
78 #endif | 78 #endif |
OLD | NEW |