Index: tests/compiler/dart2js/call_site_simple_type_inferer_test.dart |
diff --git a/tests/compiler/dart2js/call_site_simple_type_inferer_test.dart b/tests/compiler/dart2js/call_site_simple_type_inferer_test.dart |
index 8ff09c7b52a140e112c7a0c05d97d239ab151993..d3fd545911fc57b8ce4bb79b5b877acc64755451 100644 |
--- a/tests/compiler/dart2js/call_site_simple_type_inferer_test.dart |
+++ b/tests/compiler/dart2js/call_site_simple_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); |