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

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

Issue 533273003: Use unit + offset as 'Inline Local' arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/refactoring.dart
diff --git a/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart b/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart
index 93a231a4d1c71d1302641e71f07627d6f87c15d6..57844390194069c1dd1d47c124688fa3f77435cb 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/refactoring.dart
@@ -187,8 +187,8 @@ abstract class InlineLocalRefactoring implements Refactoring {
* Returns a new [InlineLocalRefactoring] instance.
*/
factory InlineLocalRefactoring(SearchEngine searchEngine,
- CompilationUnit unit, LocalVariableElement element) {
- return new InlineLocalRefactoringImpl(searchEngine, unit, element);
+ CompilationUnit unit, int offset) {
+ return new InlineLocalRefactoringImpl(searchEngine, unit, offset);
}
/**

Powered by Google App Engine
This is Rietveld 408576698