Index: tests/compiler/dart2js/call_site_type_inferer_static_test.dart |
diff --git a/tests/compiler/dart2js/call_site_type_inferer_static_test.dart b/tests/compiler/dart2js/call_site_type_inferer_static_test.dart |
index 5a772278f69309fab6d1b77b795d50de82fbabcb..e8a1f0b3537dc0475bdf5992231af2a2729b0a39 100644 |
--- a/tests/compiler/dart2js/call_site_type_inferer_static_test.dart |
+++ b/tests/compiler/dart2js/call_site_type_inferer_static_test.dart |
@@ -13,7 +13,7 @@ void compileAndFind(String code, |
String functionName, |
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); |