From 20d03b10d9004787f4b5ab2b78654e1a29372a96 Mon Sep 17 00:00:00 2001 From: Nishanth Shanmugham Date: Tue, 29 Dec 2015 18:35:54 -0600 Subject: [PATCH] osx: Implement clear recent documents Fixes #3932 --- atom/browser/browser_mac.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/atom/browser/browser_mac.mm b/atom/browser/browser_mac.mm index 4944e7d7d830..8b1dd31f3553 100644 --- a/atom/browser/browser_mac.mm +++ b/atom/browser/browser_mac.mm @@ -29,6 +29,7 @@ void Browser::AddRecentDocument(const base::FilePath& path) { } void Browser::ClearRecentDocuments() { + [[NSDocumentController sharedDocumentController] clearRecentDocuments:nil]; } void Browser::SetAppUserModelID(const base::string16& name) {