Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index f9450cd975166ac6b5855654baa3c9a88c672dca..bed681e8ae70aaf8af2e1dbe44b39912cefe4eec 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -5791,7 +5791,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::GetEnvironmentValue(T, key)); |
+ String::Handle(Api::CallEnvironmentCallback(T, key)); |
if (!env_value.IsNull() && env_value.Equals(value)) { |
condition_triggered = true; |
url_literal = conditional_url_literal; |