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

Unified Diff: pkg/analysis_server/lib/src/edit/edit_domain.dart

Issue 603753002: Issue 21071. Generate posix-style relative URIs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweak for isRelative check 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/refactoring/move_file.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/edit/edit_domain.dart
diff --git a/pkg/analysis_server/lib/src/edit/edit_domain.dart b/pkg/analysis_server/lib/src/edit/edit_domain.dart
index 128deed914e4b47d18bde7ad4d1506058fce1119..d39e55c831da11110ae15ba6611f98f2d013f3c7 100644
--- a/pkg/analysis_server/lib/src/edit/edit_domain.dart
+++ b/pkg/analysis_server/lib/src/edit/edit_domain.dart
@@ -309,7 +309,11 @@ class _RefactoringManager {
if (kind == RefactoringKind.MOVE_FILE) {
engine.AnalysisContext context = server.getAnalysisContext(file);
Source source = server.getSource(file);
- refactoring = new MoveFileRefactoring(searchEngine, context, source);
+ refactoring = new MoveFileRefactoring(
+ server.resourceProvider.pathContext,
+ searchEngine,
+ context,
+ source);
}
if (kind == RefactoringKind.RENAME) {
List<AstNode> nodes = server.getNodesAtOffset(file, offset);
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/refactoring/move_file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698