Index: runtime/vm/dart_api_impl.cc |
=================================================================== |
--- runtime/vm/dart_api_impl.cc (revision 11638) |
+++ runtime/vm/dart_api_impl.cc (working copy) |
@@ -130,7 +130,7 @@ |
PersistentHandle::raw_offset() == 0 && |
LocalHandle::raw_offset() == 0); |
#endif |
- return *(reinterpret_cast<RawObject**>(object)); |
+ return (reinterpret_cast<LocalHandle*>(object))->raw(); |
} |
#define DEFINE_UNWRAP(type) \ |