Chromium Code Reviews| Index: runtime/lib/typed_data.cc |
| =================================================================== |
| --- runtime/lib/typed_data.cc (revision 23307) |
| +++ runtime/lib/typed_data.cc (working copy) |
| @@ -59,8 +59,8 @@ |
| } |
| -static void PeerFinalizer(Dart_Handle handle, void* peer) { |
| - Dart_DeletePersistentHandle(handle); |
| + static void PeerFinalizer(Dart_WeakPersistentHandle handle, void* peer) { |
| + Dart_DeleteWeakPersistentHandle(handle); |
| OS::AlignedFree(peer); |
| } |