| Index: sdk/lib/io/file_impl.dart
|
| diff --git a/sdk/lib/io/file_impl.dart b/sdk/lib/io/file_impl.dart
|
| index 941f1da5ce21bec8f38e14412833f3054e96daa7..5249f9f2442c5ac3fd037304695e235cbe61b776 100644
|
| --- a/sdk/lib/io/file_impl.dart
|
| +++ b/sdk/lib/io/file_impl.dart
|
| @@ -308,10 +308,7 @@ class _File extends FileSystemEntity implements File {
|
| return new File(newPath);
|
| }
|
|
|
| - Directory get directory {
|
| - _Path path = new _Path(this.path).directoryPath;
|
| - return new Directory(path.toNativePath());
|
| - }
|
| + Directory get directory => super.parent;
|
|
|
| Future<RandomAccessFile> open({FileMode mode: FileMode.READ}) {
|
| if (mode != FileMode.READ &&
|
|
|