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

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

Issue 1135073004: Fix for 'Create part' Quick Fix. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« 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/services/correction/util.dart
diff --git a/pkg/analysis_server/lib/src/services/correction/util.dart b/pkg/analysis_server/lib/src/services/correction/util.dart
index 67ab4db734f500a80272f40807dc2ad92087d28f..9a2a8121b96761088939997cae3fb47825b826ca 100644
--- a/pkg/analysis_server/lib/src/services/correction/util.dart
+++ b/pkg/analysis_server/lib/src/services/correction/util.dart
@@ -105,7 +105,7 @@ Expression climbPropertyAccess(AstNode node) {
* Returns the absolute (non-file) URI or `null`.
*/
String findAbsoluteUri(AnalysisContext context, String path) {
- Source fileSource = new NonExistingSource(path, UriKind.FILE_URI);
+ Source fileSource = new NonExistingSource(path, null, UriKind.FILE_URI);
Uri uri = context.sourceFactory.restoreUri(fileSource);
if (uri == null) {
return null;
« 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