| Index: runtime/lib/string.cc
|
| diff --git a/runtime/lib/string.cc b/runtime/lib/string.cc
|
| index 1a2e60b19752996cd3c3a7b826b4199d82ec56d1..111b70c28035a39e50e6e3f6fa22c6cf475550e9 100644
|
| --- a/runtime/lib/string.cc
|
| +++ b/runtime/lib/string.cc
|
| @@ -19,7 +19,7 @@ DEFINE_NATIVE_ENTRY(String_fromEnvironment, 3) {
|
| GET_NON_NULL_NATIVE_ARGUMENT(String, name, arguments->NativeArgAt(1));
|
| GET_NATIVE_ARGUMENT(String, default_value, arguments->NativeArgAt(2));
|
| // Call the embedder to supply us with the environment.
|
| - Api::Scope api_scope();
|
| + Api::Scope api_scope(isolate);
|
| Dart_EnvironmentCallback callback = isolate->environment_callback();
|
| if (callback != NULL) {
|
| Dart_Handle result = callback(Api::NewHandle(isolate, name.raw()));
|
|
|