Chromium Code Reviews| Index: runtime/vm/dart_api_message.cc |
| =================================================================== |
| --- runtime/vm/dart_api_message.cc (revision 37116) |
| +++ runtime/vm/dart_api_message.cc (working copy) |
| @@ -1154,9 +1154,9 @@ |
| Dart_WeakPersistentHandleFinalizer callback = |
| object->value.as_external_typed_data.callback; |
| WriteSmi(length); |
| - WriteIntptrValue(reinterpret_cast<intptr_t>(data)); |
| - WriteIntptrValue(reinterpret_cast<intptr_t>(peer)); |
| - WriteIntptrValue(reinterpret_cast<intptr_t>(callback)); |
| + WriteRawPointerValue(reinterpret_cast<intptr_t>(data)); |
| + WriteRawPointerValue(reinterpret_cast<intptr_t>(peer)); |
| + WriteRawPointerValue(reinterpret_cast<intptr_t>(callback)); |
|
siva
2014/06/10 19:51:37
Would be symmetric to also add a ReadRawPointerVal
zra
2014/06/10 20:15:37
Done.
|
| break; |
| } |
| default: |