Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: Source/platform/heap/HeapAllocator.h

Issue 1149943003: Oilpan: Rename weak callback related methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 HeapAllocator_h 5 #ifndef HeapAllocator_h
6 #define HeapAllocator_h 6 #define HeapAllocator_h
7 7
8 #include "platform/heap/Heap.h" 8 #include "platform/heap/Heap.h"
9 #include "platform/heap/TraceTraits.h" 9 #include "platform/heap/TraceTraits.h"
10 #include "wtf/Assertions.h" 10 #include "wtf/Assertions.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 TraceCollectionIfEnabled<WTF::ShouldBeTraced<Traits>::value, Traits::wea kHandlingFlag, WTF::WeakPointersActWeak, T, Traits>::trace(visitor, t); 128 TraceCollectionIfEnabled<WTF::ShouldBeTraced<Traits>::value, Traits::wea kHandlingFlag, WTF::WeakPointersActWeak, T, Traits>::trace(visitor, t);
129 } 129 }
130 130
131 template<typename VisitorDispatcher> 131 template<typename VisitorDispatcher>
132 static void registerDelayedMarkNoTracing(VisitorDispatcher visitor, const vo id* object) 132 static void registerDelayedMarkNoTracing(VisitorDispatcher visitor, const vo id* object)
133 { 133 {
134 visitor->registerDelayedMarkNoTracing(object); 134 visitor->registerDelayedMarkNoTracing(object);
135 } 135 }
136 136
137 template<typename VisitorDispatcher> 137 template<typename VisitorDispatcher>
138 static void registerWeakMembers(VisitorDispatcher visitor, const void* closu re, const void* object, WeakPointerCallback callback) 138 static void registerWeakMembers(VisitorDispatcher visitor, const void* closu re, const void* object, WeakCallback callback)
139 { 139 {
140 visitor->registerWeakMembers(closure, object, callback); 140 visitor->registerWeakMembers(closure, object, callback);
141 } 141 }
142 142
143 template<typename VisitorDispatcher> 143 template<typename VisitorDispatcher>
144 static void registerWeakTable(VisitorDispatcher visitor, const void* closure , EphemeronCallback iterationCallback, EphemeronCallback iterationDoneCallback) 144 static void registerWeakTable(VisitorDispatcher visitor, const void* closure , EphemeronCallback iterationCallback, EphemeronCallback iterationDoneCallback)
145 { 145 {
146 visitor->registerWeakTable(closure, iterationCallback, iterationDoneCall back); 146 visitor->registerWeakTable(closure, iterationCallback, iterationDoneCall back);
147 } 147 }
148 148
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 template<typename T, size_t i, typename U> 449 template<typename T, size_t i, typename U>
450 inline void swap(HeapListHashSet<T, i, U>& a, HeapListHashSet<T, i, U>& b) { a.s wap(b); } 450 inline void swap(HeapListHashSet<T, i, U>& a, HeapListHashSet<T, i, U>& b) { a.s wap(b); }
451 template<typename T, typename U, typename V> 451 template<typename T, typename U, typename V>
452 inline void swap(HeapLinkedHashSet<T, U, V>& a, HeapLinkedHashSet<T, U, V>& b) { a.swap(b); } 452 inline void swap(HeapLinkedHashSet<T, U, V>& a, HeapLinkedHashSet<T, U, V>& b) { a.swap(b); }
453 template<typename T, typename U, typename V> 453 template<typename T, typename U, typename V>
454 inline void swap(HeapHashCountedSet<T, U, V>& a, HeapHashCountedSet<T, U, V>& b) { a.swap(b); } 454 inline void swap(HeapHashCountedSet<T, U, V>& a, HeapHashCountedSet<T, U, V>& b) { a.swap(b); }
455 455
456 } // namespace blink 456 } // namespace blink
457 457
458 #endif 458 #endif
OLDNEW
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698