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

Unified Diff: utils/apidoc/apidoc.dart

Issue 11878015: Default constructor for dart:io Path now handles native Windows paths. Path() now does the same as… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't change tools/version.dart until the binaries are updated. Created 7 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 | « tools/html_json_doc/test/html_json_doc_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc.dart
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
index c2c119c9558f930fc6922e3389735e13c3169a53..3f19eaa1953c1d95cbbebb972f5a85f99dba107d 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -61,7 +61,7 @@ void main() {
} else if (arg.startsWith('--include-lib=')) {
includedLibraries.add(arg.substring('--include-lib='.length));
} else if (arg.startsWith('--out=')) {
- outputDir = new Path.fromNative(arg.substring('--out='.length));
+ outputDir = new Path(arg.substring('--out='.length));
} else if (arg.startsWith('--pkg=')) {
pkgPath = arg.substring('--pkg='.length);
} else {
@@ -117,7 +117,7 @@ void main() {
var lister = new Directory.fromPath(doc.scriptDir.append('../../pkg')).list();
lister.onDir = (dirPath) {
- var path = new Path.fromNative(dirPath);
+ var path = new Path(dirPath);
var libName = path.filename;
// TODO(rnystrom): Get rid of oldStylePath support when all packages are
« no previous file with comments | « tools/html_json_doc/test/html_json_doc_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698