fix: don't create last saved path if none exists (#27745)
This commit is contained in:
parent
599f398ddc
commit
b12e47b798
2 changed files with 19 additions and 8 deletions
|
@ -52,6 +52,8 @@ class ElectronDownloadManagerDelegate
|
|||
content::DownloadTargetCallback download_callback,
|
||||
gin_helper::Dictionary result);
|
||||
|
||||
base::FilePath last_saved_directory_;
|
||||
|
||||
content::DownloadManager* download_manager_;
|
||||
base::WeakPtrFactory<ElectronDownloadManagerDelegate> weak_ptr_factory_{this};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue