Index: tests/compiler/dart2js/call_site_type_inferer_test.dart |
diff --git a/tests/compiler/dart2js/call_site_type_inferer_test.dart b/tests/compiler/dart2js/call_site_type_inferer_test.dart |
index bad589f6f2b886ab26a12b7eed011db5cc2cdc99..7e75dd1148fbfd04cb329fb709cbc316c983e637 100644 |
--- a/tests/compiler/dart2js/call_site_type_inferer_test.dart |
+++ b/tests/compiler/dart2js/call_site_type_inferer_test.dart |
@@ -14,7 +14,7 @@ void compileAndFind(String code, |
String memberName, |
bool disableInlining, |
check(compiler, element)) { |
- Uri uri = new Uri.fromComponents(scheme: 'source'); |
+ Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(code, uri); |
compiler.disableInlining = disableInlining; |
compiler.runCompiler(uri); |