Chromium Code Reviews| Index: Source/heap/Heap.h |
| diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h |
| index 8e59b282ccba646aaba34729cd57304048e120b3..d4f4a4d7e7832f4674ec6b35e51138174045ad67 100644 |
| --- a/Source/heap/Heap.h |
| +++ b/Source/heap/Heap.h |
| @@ -779,7 +779,7 @@ public: |
| // on a static callback stack and the weak callback is performed |
| // on the thread performing garbage collection. This is OK because |
| // cells are just cleared and no deallocation can happen. |
| - static void pushWeakObjectPointerCallback(void* containerObject, WeakPointerCallback); |
| + static void pushWeakObjectPointerCallback(void* closure, void* containerObject, WeakPointerCallback); |
|
Mads Ager (chromium)
2014/03/12 15:46:50
Please update the comment with an explanation of w
Erik Corry
2014/03/13 07:46:21
Done.
|
| static void pushWeakCellPointerCallback(void** cell, WeakPointerCallback); |
| // Pop the top of the marking stack and call the callback with the visitor |
| @@ -1263,9 +1263,9 @@ public: |
| return hasDeadMember(visitor, t.key) || hasDeadMember(visitor, t.value); |
| } |
| - static void registerWeakMembers(Visitor* visitor, const void* object, WeakPointerCallback callback) |
| + static void registerWeakMembers(Visitor* visitor, const void* closure, const void* object, WeakPointerCallback callback) |
| { |
| - visitor->registerWeakMembers(object, callback); |
| + visitor->registerWeakMembers(closure, object, callback); |
| } |
| template<typename T> |