| Index: sdk/lib/io/file_impl.dart
|
| diff --git a/sdk/lib/io/file_impl.dart b/sdk/lib/io/file_impl.dart
|
| index 4df878a9844a6c05bcca5ab1bc08dff04c9ce4ad..475275340f8016ca24fa80115e0bef7aaf4caf67 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 &&
|
|
|