| Index: base/files/file_path_watcher.cc
|
| diff --git a/base/files/file_path_watcher.cc b/base/files/file_path_watcher.cc
|
| index 955e6a2a5bb0abb154f489c617213ec62c1ccc72..254bae04bf199f4eb46961e7ae72aa4789bfb74f 100644
|
| --- a/base/files/file_path_watcher.cc
|
| +++ b/base/files/file_path_watcher.cc
|
| @@ -29,13 +29,11 @@ void FilePathWatcher::CancelWatch(
|
|
|
| // static
|
| bool FilePathWatcher::RecursiveWatchAvailable() {
|
| -#if defined(OS_MACOSX) && !defined(OS_IOS)
|
| - // FSEvents isn't available on iOS and is broken on OSX 10.6 and earlier.
|
| - // See http://crbug.com/54822#c31
|
| - return mac::IsOSLionOrLater();
|
| -#elif defined(OS_WIN) || defined(OS_LINUX) || defined(OS_ANDROID)
|
| +#if (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_WIN) || \
|
| + defined(OS_LINUX) || defined(OS_ANDROID)
|
| return true;
|
| #else
|
| + // FSEvents isn't available on iOS.
|
| return false;
|
| #endif
|
| }
|
|
|