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

Unified Diff: pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart

Issue 2659943002: Implement SourceFactory.forUri2() to fix front_end after f28e8afb23b2. (Closed)
Patch Set: Created 3 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart
diff --git a/pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart b/pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart
index aa51fbf29b7c4e844ffce2a1ec65233731c0581c..88ac8ecc2d2c534f7a56c3de6e6c08afe6189e50 100644
--- a/pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart
+++ b/pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart
@@ -268,8 +268,13 @@ class _SourceFactoryProxy implements SourceFactory {
@override
Source forUri(String absoluteUri) {
Uri uri = Uri.parse(absoluteUri);
+ return forUri2(uri);
+ }
+
+ @override
+ Source forUri2(Uri absoluteUri) {
return new _SourceProxy(
- uri, _fileRepository.pathForUri(uri, allocate: true));
+ absoluteUri, _fileRepository.pathForUri(absoluteUri, allocate: true));
}
noSuchMethod(Invocation invocation) => unimplemented();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698