| Index: runtime/vm/dart_api_state.h
|
| diff --git a/runtime/vm/dart_api_state.h b/runtime/vm/dart_api_state.h
|
| index c2026cc97d0c7f3fbd98284a13eca84dcd60e729..203d4b457567d756b651baaad6bf0e3f90cf5ccd 100644
|
| --- a/runtime/vm/dart_api_state.h
|
| +++ b/runtime/vm/dart_api_state.h
|
| @@ -626,7 +626,7 @@ class ApiNativeScope {
|
|
|
| ~ApiNativeScope() {
|
| ASSERT(Current() == this);
|
| - Thread::SetThreadLocal(Api::api_native_key_, NULL);
|
| + Thread::SetThreadLocal(Api::api_native_key_, 0);
|
| }
|
|
|
| static inline ApiNativeScope* Current() {
|
|
|