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

Unified Diff: lib/src/server/server.dart

Issue 1258663002: update analyzer and dart_style (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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 | « lib/src/multi_package_resolver.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/server/server.dart
diff --git a/lib/src/server/server.dart b/lib/src/server/server.dart
index f3343c59b0c034df29289f657fa1b5758909116b..b297a88bdbe85255b4968c1fa359db65108d7b58 100644
--- a/lib/src/server/server.dart
+++ b/lib/src/server/server.dart
@@ -299,8 +299,8 @@ class _ExistingSourceUriResolver implements UriResolver {
final UriResolver resolver;
_ExistingSourceUriResolver(this.resolver);
- Source resolveAbsolute(Uri uri) {
- var src = resolver.resolveAbsolute(uri);
+ Source resolveAbsolute(Uri uri, [Uri actualUri]) {
+ var src = resolver.resolveAbsolute(uri, actualUri);
return src.exists() ? src : null;
}
Uri restoreAbsolute(Source source) => resolver.restoreAbsolute(source);
« no previous file with comments | « lib/src/multi_package_resolver.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698