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

Unified Diff: tools/html_json_doc/lib/json_to_html.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/lib/html_to_json.dart ('k') | tools/html_json_doc/test/html_json_doc_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/html_json_doc/lib/json_to_html.dart
diff --git a/tools/html_json_doc/lib/json_to_html.dart b/tools/html_json_doc/lib/json_to_html.dart
index aae2b682d849d53d0f8b718db7121c2c46df9e97..1b561117ae12ce4266cdceb56fa8a2245fa04036 100644
--- a/tools/html_json_doc/lib/json_to_html.dart
+++ b/tools/html_json_doc/lib/json_to_html.dart
@@ -67,7 +67,7 @@ Future<bool> convert(Path htmlPath, Path jsonPath) {
final lister = htmlDir.list(recursive: false);
lister.onFile = (String path) {
- final name = new Path.fromNative(path).filename;
+ final name = new Path(path).filename;
// Ignore private classes.
if (name.startsWith('_')) return;
« no previous file with comments | « tools/html_json_doc/lib/html_to_json.dart ('k') | tools/html_json_doc/test/html_json_doc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698