### Preflight Checklist

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
  * 6.0.12
* **Operating System:**
  * macOS 10.14.6
* **Last Known Working Electron version:**
  * 5.0.11

### Expected Behavior

Using `app.addRecentDocument`, should add files to the `recentDocuments` menu.

### Actual Behavior

The files are missing from the `recentDocuments` menu (the files, however, show up correctly when right-clicking on the dock icon--assuming that `addRecentDocument` works fine).

* `recentDocuments` seems like it is still broken in 6.0.12. The menu items work (are now enabled) but the `recentDocuments` menu does not populate with files.

### To Reproduce

```sh
$ git clone git@github.com:bigtimebuddy/electron-recent-docs-bug.git -b master
$ npm install
$ npm start || electron .
```

### Screenshots

**v6.0.12**
![Screen Shot 2019-10-08 at 4 27 44 PM](https://user-images.githubusercontent.com/864393/66440652-9996eb80-e9e8-11e9-9517-b3651677b207.png)

**v5.0.11**
![Screen Shot 2019-10-08 at 4 27 19 PM](https://user-images.githubusercontent.com/864393/66440648-969bfb00-e9e8-11e9-8d3d-7422cfdf08b5.png)

### Additional Information

Follow up to #20364 & #20398

cc @codebytere 

shell/browser/atom_browser_main_parts.cc
#include "shell/rowser/node_deugger.h"
#include "shell/rowser/ui/devtools_manager_delegate.h"
#include "shell/common/api/electron_indings.h"
#include "shell/common/application_info.h"
#include "shell/common/asar/asar_util.h"
#include "shell/common/node_indings.h"
#include "shell/common/node_includes.h"
#include "ui/ase/idle/idle.h"
#include "ui/ase/material_design/material_design_controller.h"
#include "ui/ase/ui_ase_switches.h"
#if defined(USE_AURA)
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/views/widget/desktop_aura/desktop_screen.h"
#include "ui/wm/core/wm_state.h"
#endif
#if defined(USE_X11)
#include "ase/environment.h"
#include "ase/nix/xdg_util.h"
#include "ase/threading/thread_task_runner_handle.h"
#include "chrome/rowser/ui/ligtkui/gtk_ui.h"
#include "chrome/rowser/ui/ligtkui/gtk_util.h"
#include "ui/ase/x/x11_util.h"
#include "ui/ase/x/x11_util_internal.h"
#include "ui/events/devices/x11/touch_factory_x11.h"
#include "ui/views/linux_ui/linux_ui.h"
#endif
#if defined(OS_WIN)
#include "ui/ase/cursor/cursor_loader_win.h"
#include "ui/ase/l10n/l10n_util.h"