Index: chrome/browser/download/download_status_updater_mac.mm |
diff --git a/chrome/browser/download/download_status_updater_mac.mm b/chrome/browser/download/download_status_updater_mac.mm |
index 2cdb9523ab840055ec560c3b7def6cbe99e8b5b0..574553b641ce23f2d825c80d0a9e3f852405ad0f 100644 |
--- a/chrome/browser/download/download_status_updater_mac.mm |
+++ b/chrome/browser/download/download_status_updater_mac.mm |
@@ -242,10 +242,6 @@ void DownloadStatusUpdater::UpdateAppIconDownloadProgress( |
} |
// Notify the Finder. |
- NSString* parent_path = [download_path stringByDeletingLastPathComponent]; |
- FNNotifyByPath( |
- reinterpret_cast<const UInt8*>([parent_path fileSystemRepresentation]), |
- kFNDirectoryModifiedMessage, |
- kNilOptions); |
+ [[NSWorkspace sharedWorkspace] noteFileSystemChanged:download_path]; |
Avi (use Gerrit)
2016/10/04 22:12:29
-noteFileSystemChanged: has the note:
"Use of thi
Robert Sesek
2016/10/04 22:38:49
Yes, as far as I know, the only public FSEvents AP
|
} |
} |