Index: pkg/analyzer/benchmark/errors_in_all_libraries.dart |
diff --git a/pkg/analyzer/benchmark/errors_in_all_libraries.dart b/pkg/analyzer/benchmark/errors_in_all_libraries.dart |
index 0d68c2f2302c25bfef426b1672c53bffd6306fdd..6f02534b7e2a82d7902a7438a1ea7ca842d9b10c 100644 |
--- a/pkg/analyzer/benchmark/errors_in_all_libraries.dart |
+++ b/pkg/analyzer/benchmark/errors_in_all_libraries.dart |
@@ -15,6 +15,8 @@ import 'package:analyzer/src/generated/java_io.dart'; |
import 'package:analyzer/src/generated/sdk_io.dart' show DirectoryBasedDartSdk; |
import 'package:analyzer/src/generated/source.dart'; |
import 'package:analyzer/src/generated/source_io.dart'; |
+import 'package:analyzer/file_system/file_system.dart'; |
+import 'package:analyzer/file_system/physical_file_system.dart'; |
import 'package:path/path.dart' as p; |
void main(List<String> args) { |
@@ -36,7 +38,7 @@ void main(List<String> args) { |
var context = AnalysisEngine.instance.createAnalysisContext(); |
context.sourceFactory = new SourceFactory([ |
new DartUriResolver(DirectoryBasedDartSdk.defaultSdk), |
- new FileUriResolver(), |
+ new ResourceUriResolver(PhysicalResourceProvider.INSTANCE), |
new PackageUriResolver([new JavaFile(packageRoot)]) |
]); |