fix: remove conflicting RunFileChooserEnd for Mac (#30936)

Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
This commit is contained in:
trop[bot]
2021-09-13 15:26:00 -07:00
committed by GitHub
parent 98845392d8
commit 05d5ee4486

View File

@@ -183,7 +183,9 @@ void FileSelectHelper::OnOpenDialogDone(gin_helper::Dictionary result) {
browser_context->prefs()->SetFilePath(prefs::kSelectFileLastDirectory,
paths[0].DirName());
}
#if !defined(OS_MAC)
RunFileChooserEnd();
#endif
}
}
}