Stop working around issue 15458 in pkg/watcher.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//134773002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/watcher@31709 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/lib/src/directory_watcher/mac_os.dart b/lib/src/directory_watcher/mac_os.dart
index 90036cc..17c25ad 100644
--- a/lib/src/directory_watcher/mac_os.dart
+++ b/lib/src/directory_watcher/mac_os.dart
@@ -24,7 +24,7 @@
/// succession, it won't report them in the order they occurred. See issue
/// 14373.
///
-/// This also works around issues 15458 and 14849 in the implementation of
+/// This also works around issue 14849 in the implementation of
/// [Directory.watch].
class MacOSDirectoryWatcher extends ResubscribableDirectoryWatcher {
// TODO(nweiz): remove these when issue 15042 is fixed.
@@ -295,9 +295,6 @@
case FileSystemEvent.CREATE:
return new ConstructableFileSystemCreateEvent(batch.first.path, isDir);
case FileSystemEvent.DELETE:
- // Issue 15458 means that DELETE events for directories can actually
- // mean CREATE, so we always check the filesystem for them.
- if (isDir) return null;
return new ConstructableFileSystemCreateEvent(batch.first.path, false);
case FileSystemEvent.MODIFY:
return new ConstructableFileSystemModifyEvent(