 Chromium Code Reviews
 Chromium Code Reviews Issue 10915015:
  Make fewer assumptions about the layout of api handles.  (Closed) 
  Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
    
  
    Issue 10915015:
  Make fewer assumptions about the layout of api handles.  (Closed) 
  Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/| 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) \ |