chore: ShowItemInFolder should use COMSTA (#22614)

This commit is contained in:
Shelley Vohr 2020-03-10 21:12:22 +00:00 committed by GitHub
parent 97fe4c7718
commit 4bca5205bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -318,7 +318,7 @@ std::string OpenPathOnThread(const base::FilePath& full_path) {
namespace platform_util {
void ShowItemInFolder(const base::FilePath& full_path) {
base::ThreadPool::CreateSingleThreadTaskRunner(
base::ThreadPool::CreateCOMSTATaskRunner(
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
->PostTask(FROM_HERE,
base::BindOnce(&ShowItemInFolderOnWorkerThread, full_path));