From 4bca5205bb74c43c169ede2200b9d16bb3ff366e Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 10 Mar 2020 21:12:22 +0000 Subject: [PATCH] chore: ShowItemInFolder should use COMSTA (#22614) --- shell/common/platform_util_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/common/platform_util_win.cc b/shell/common/platform_util_win.cc index 21f31ce13f..0f18968c1d 100644 --- a/shell/common/platform_util_win.cc +++ b/shell/common/platform_util_win.cc @@ -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));