| Index: runtime/vm/dart_api_state.h
|
| diff --git a/runtime/vm/dart_api_state.h b/runtime/vm/dart_api_state.h
|
| index 34b9f9a0995c0e380d888ee3ef39d4106c4392cd..2565bfe6bc41b7a686dceacd75539c00d9222318 100644
|
| --- a/runtime/vm/dart_api_state.h
|
| +++ b/runtime/vm/dart_api_state.h
|
| @@ -129,6 +129,10 @@ class LocalHandle {
|
| void set_raw(RawObject* raw) { raw_ = raw; }
|
| static intptr_t raw_offset() { return OFFSET_OF(LocalHandle, raw_); }
|
|
|
| + Dart_Handle apiHandle() {
|
| + return reinterpret_cast<Dart_Handle>(this);
|
| + }
|
| +
|
| private:
|
| LocalHandle() { }
|
| ~LocalHandle() { }
|
|
|