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

Unified Diff: pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart

Issue 2949823002: Remove unused implementation of SearchEngine and rename the driver-based implementation (Closed)
Patch Set: Created 3 years, 6 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/refactoring/rename_constructor.dart
diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart
index f403e6e0dfcce9428faf5b8ffef6462695583d44..e079875f2f6cc8d6da7d8c289fd5cf80f1415db7 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart
@@ -100,13 +100,15 @@ class RenameConstructorRefactoringImpl extends RenameRefactoringImpl {
sourceRange = new SourceRange(element.nameEnd, 0);
}
return new SourceReference(new SearchMatchImpl(
- element.context,
- element.library.source.uri.toString(),
- element.source.uri.toString(),
- MatchKind.DECLARATION,
- sourceRange,
+ element.source.fullName,
+ element.library.source,
+ element.source,
+ element.library,
+ element,
+ true,
true,
- true));
+ MatchKind.DECLARATION,
+ sourceRange));
}
Future<Null> _replaceSynthetic() async {

Powered by Google App Engine
This is Rietveld 408576698