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

Unified Diff: tools/html_json_doc/lib/html_to_json.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/bin/html_json_doc.dart ('k') | tools/html_json_doc/lib/json_to_html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/html_json_doc/lib/html_to_json.dart
diff --git a/tools/html_json_doc/lib/html_to_json.dart b/tools/html_json_doc/lib/html_to_json.dart
index 676e3c309190b050a802c51d69aff6eeaf3afbf9..1a82c9eaf1be14de0d0b4a4b4b62e66cfadc8696 100644
--- a/tools/html_json_doc/lib/html_to_json.dart
+++ b/tools/html_json_doc/lib/html_to_json.dart
@@ -82,7 +82,7 @@ Future<Object> _convertFiles(Path htmlPath) {
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/bin/html_json_doc.dart ('k') | tools/html_json_doc/lib/json_to_html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698