fix: quick follow-up to threadpool PR (#22611)
This commit is contained in:
parent
3b08736ae2
commit
dcab07c8b1
1 changed files with 2 additions and 2 deletions
|
@ -328,8 +328,8 @@ void OpenPath(const base::FilePath& full_path, OpenCallback callback) {
|
|||
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
||||
|
||||
base::PostTaskAndReplyWithResult(
|
||||
base::ThreadPool::CreateSingleThreadTaskRunner(({base::MayBlock(),
|
||||
base::TaskPriority::USER_BLOCKING})
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
.get(),
|
||||
FROM_HERE, base::BindOnce(&OpenPathOnThread, full_path),
|
||||
std::move(callback));
|
||||
|
|
Loading…
Reference in a new issue