| Index: runtime/lib/integers.cc
|
| diff --git a/runtime/lib/integers.cc b/runtime/lib/integers.cc
|
| index 4e64ea5ae04a625956daee125dd9f2c7cf296d94..a0397d51379382c976c71c4337597fcd5026a6cb 100644
|
| --- a/runtime/lib/integers.cc
|
| +++ b/runtime/lib/integers.cc
|
| @@ -239,6 +239,7 @@ DEFINE_NATIVE_ENTRY(Integer_fromEnvironment, 3) {
|
| GET_NON_NULL_NATIVE_ARGUMENT(String, name, arguments->NativeArgAt(1));
|
| GET_NATIVE_ARGUMENT(Integer, default_value, arguments->NativeArgAt(2));
|
| // Call the embedder to supply us with the environment.
|
| + Api::Scope api_scope(isolate);
|
| Dart_EnvironmentCallback callback = isolate->environment_callback();
|
| if (callback != NULL) {
|
| Dart_Handle response = callback(Api::NewHandle(isolate, name.raw()));
|
|
|