OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 TraceWrapperMember_h | 5 #ifndef TraceWrapperMember_h |
6 #define TraceWrapperMember_h | 6 #define TraceWrapperMember_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptWrappableVisitor.h" | 8 #include "platform/bindings/ScriptWrappableVisitor.h" |
9 #include "platform/heap/HeapAllocator.h" | 9 #include "platform/heap/HeapAllocator.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 class HeapObjectHeader; | 13 class HeapObjectHeader; |
14 template <typename T> | 14 template <typename T> |
15 class Member; | 15 class Member; |
16 | 16 |
17 /** | 17 /** |
18 * TraceWrapperMember is used for Member fields that should participate in | 18 * TraceWrapperMember is used for Member fields that should participate in |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 b.clear(); | 138 b.clear(); |
139 b.ReserveCapacity(temp.size()); | 139 b.ReserveCapacity(temp.size()); |
140 for (auto item : temp) { | 140 for (auto item : temp) { |
141 b.push_back(item.Get()); | 141 b.push_back(item.Get()); |
142 } | 142 } |
143 } | 143 } |
144 | 144 |
145 } // namespace blink | 145 } // namespace blink |
146 | 146 |
147 #endif // TraceWrapperMember_h | 147 #endif // TraceWrapperMember_h |
OLD | NEW |