Browse Source

fix: remove conflicting RunFileChooserEnd for Mac (#30935)

Keeley Hammond 3 years ago
parent
commit
c74b9ff312
1 changed files with 2 additions and 0 deletions
  1. 2 0
      shell/browser/file_select_helper.cc

+ 2 - 0
shell/browser/file_select_helper.cc

@@ -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
     }
   }
 }