Index: pkg/analyzer/lib/src/analyzer_impl.dart |
diff --git a/pkg/analyzer/lib/src/analyzer_impl.dart b/pkg/analyzer/lib/src/analyzer_impl.dart |
index 1c63f0358fd95d8792270ec85b2f8f50f530b866..a2b11514341e4fc7282f00c827562f2c5c8fe6f3 100644 |
--- a/pkg/analyzer/lib/src/analyzer_impl.dart |
+++ b/pkg/analyzer/lib/src/analyzer_impl.dart |
@@ -52,7 +52,7 @@ class AnalyzerImpl { |
} |
var sourceFile = new JavaFile(sourcePath); |
var uriKind = getUriKind(sourceFile); |
- var librarySource = new FileBasedSource.con2(contentCache, sourceFile, uriKind); |
+ var librarySource = new FileBasedSource.con2(sourceFile, uriKind); |
// prepare context |
prepareAnalysisContext(sourceFile); |
// don't try to analyzer parts |
@@ -101,7 +101,7 @@ class AnalyzerImpl { |
resolvers.add(new PackageUriResolver([packageDirectory])); |
} |
} |
- sourceFactory = new SourceFactory.con1(contentCache, resolvers); |
+ sourceFactory = new SourceFactory(resolvers); |
context = AnalysisEngine.instance.createAnalysisContext(); |
context.sourceFactory = sourceFactory; |