Index: runtime/vm/object.cc |
=================================================================== |
--- runtime/vm/object.cc (revision 31753) |
+++ runtime/vm/object.cc (working copy) |
@@ -16467,7 +16467,7 @@ |
FinalizablePersistentHandle* ExternalTypedData::AddFinalizer( |
void* peer, Dart_WeakPersistentHandleFinalizer callback) const { |
- SetPeer(peer); |
+ Isolate::Current()->heap()->SetPeer(this->raw(), peer); |
Ivan Posva
2014/01/14 02:08:28
I don't think this is correct. Adding a VM interna
siva
2014/01/14 16:44:14
At least that is what the old code was doing. We s
|
return dart::AddFinalizer(*this, peer, callback); |
} |