Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index b4e3ac90af693b1137aa2faa1fd1b18be23d2a80..f41dc91e987ca8fb102ebbf335d40aa0c88066a3 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -5796,7 +5796,7 @@ void Parser::ParseLibraryImportExport(const Object& tl_owner, |
: String::Cast(valueNode->AsLiteralNode()->literal()); |
// Call the embedder to supply us with the environment. |
const String& env_value = |
- String::Handle(Api::CallEnvironmentCallback(T, key)); |
+ String::Handle(Api::GetEnvironmentValue(T, key)); |
if (!env_value.IsNull() && env_value.Equals(value)) { |
condition_triggered = true; |
url_literal = conditional_url_literal; |