Index: sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
index 7d5eba0b803d72fdd538190ea9db7654bfed890e..618b4e501b89d9bdc29c57371b1bc2368cda4196 100644 |
--- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
+++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
@@ -434,7 +434,7 @@ class Dartdoc { |
_exports = new ExportMap.parse(libraryList, packageRoot); |
var librariesToAnalyze = _exports.allExportedFiles.toList(); |
librariesToAnalyze.addAll(libraryList.map((uri) { |
- if (uri.scheme == 'file') return fileUriToPath(uri); |
+ if (uri.scheme == 'file') return pathos.fromUri(uri); |
// dart2js takes "dart:*" URIs as Path objects for some reason. |
return uri.toString(); |
})); |
@@ -799,9 +799,8 @@ class Dartdoc { |
'''library client; |
import 'dart:html'; |
import 'dart:json'; |
- import r'${pathToFileUri( |
- pathos.join(clientDir, 'client-shared.dart'))}'; |
- import r'${pathToFileUri(pathos.join(clientDir, 'dropdown.dart'))}'; |
+ import r'${pathos.toUri(pathos.join(clientDir, 'client-shared.dart'))}'; |
+ import r'${pathos.toUri(pathos.join(clientDir, 'dropdown.dart'))}'; |
main() { |
setup(); |