| Index: runtime/lib/integers.cc
|
| diff --git a/runtime/lib/integers.cc b/runtime/lib/integers.cc
|
| index 9478fcc40088e4dffe6325e456e6b5f5c6054320..e75ecab7787a873a7bf2fc5f970a896cf4b2fd0c 100644
|
| --- a/runtime/lib/integers.cc
|
| +++ b/runtime/lib/integers.cc
|
| @@ -237,7 +237,7 @@ DEFINE_NATIVE_ENTRY(Integer_fromEnvironment, 3) {
|
| GET_NATIVE_ARGUMENT(Integer, default_value, arguments->NativeArgAt(2));
|
| // Call the embedder to supply us with the environment.
|
| const String& env_value =
|
| - String::Handle(Api::CallEnvironmentCallback(thread, name));
|
| + String::Handle(Api::GetEnvironmentValue(thread, name));
|
| if (!env_value.IsNull()) {
|
| const Integer& result = Integer::Handle(ParseInteger(env_value));
|
| if (!result.IsNull()) {
|
|
|