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

Unified Diff: pkg/analysis_server/lib/src/services/correction/fix_internal.dart

Issue 2899843002: Convert quick assist support to use AnalysisDriver (Closed)
Patch Set: Created 3 years, 7 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/analysis_server/lib/src/services/correction/fix_internal.dart
diff --git a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
index 034874ead4d5ec1110b775eb9e748239b4fd36a4..c31ad8743d1a7083743979a970149537f104ef66 100644
--- a/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
+++ b/pkg/analysis_server/lib/src/services/correction/fix_internal.dart
@@ -165,9 +165,6 @@ class FixProcessor {
TypeProvider get typeProvider {
if (_typeProvider == null) {
_typeProvider = unitElement.context.typeProvider;
-// LibraryElement coreLibrary = await driver.getLibraryByUri('dart:core');
-// LibraryElement asyncLibrary = await driver.getLibraryByUri('dart:async');
-// _typeProvider = new TypeProviderImpl(coreLibrary, asyncLibrary);
}
return _typeProvider;
}

Powered by Google App Engine
This is Rietveld 408576698