Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: pkg/analyzer/lib/src/analyzer_impl.dart

Issue 184893003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698