Index: sdk/lib/io/directory_impl.dart |
diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart |
index 08ed648ac7266cdb9dc0aa9f7a2af4612ea9d31a..59911ed87f7808a79f8aa5db39673e41b0963c9b 100644 |
--- a/sdk/lib/io/directory_impl.dart |
+++ b/sdk/lib/io/directory_impl.dart |
@@ -81,7 +81,7 @@ class _Directory implements Directory { |
if (_path is !String) { |
throw new ArgumentError(); |
} |
- var path = new Path.fromNative(_path); |
+ var path = new Path(_path); |
var dirsToCreate = []; |
var terminator = path.isAbsolute ? '/' : ''; |
while (path.toString() != terminator) { |
@@ -122,7 +122,7 @@ class _Directory implements Directory { |
} |
void createRecursivelySync() { |
- var path = new Path.fromNative(_path); |
+ var path = new Path(_path); |
var dirsToCreate = []; |
var terminator = path.isAbsolute ? '/' : ''; |
while (path.toString() != terminator) { |