Index: tests/compiler/dart2js/analyze_helper.dart |
diff --git a/tests/compiler/dart2js/analyze_helper.dart b/tests/compiler/dart2js/analyze_helper.dart |
index 3eee5f881953e5f9d49b556eecec53da2dced97a..affcf0d0e9e029133c296d0dd8797e732bc46c2a 100644 |
--- a/tests/compiler/dart2js/analyze_helper.dart |
+++ b/tests/compiler/dart2js/analyze_helper.dart |
@@ -125,7 +125,7 @@ class CollectingDiagnosticHandler extends FormattingDiagnosticHandler { |
Future analyze(List<Uri> uriList, Map<String, List<String>> whiteList) { |
var libraryRoot = currentDirectory.resolve('sdk/'); |
- var provider = new SourceFileProvider(); |
+ var provider = new CompilerSourceFileProvider(); |
var handler = new CollectingDiagnosticHandler(whiteList, provider); |
var compiler = new Compiler( |
provider.readStringFromUri, |