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);
|
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
|
||||||
|
|
||||||
base::PostTaskAndReplyWithResult(
|
base::PostTaskAndReplyWithResult(
|
||||||
base::ThreadPool::CreateSingleThreadTaskRunner(({base::MayBlock(),
|
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||||
base::TaskPriority::USER_BLOCKING})
|
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||||
.get(),
|
.get(),
|
||||||
FROM_HERE, base::BindOnce(&OpenPathOnThread, full_path),
|
FROM_HERE, base::BindOnce(&OpenPathOnThread, full_path),
|
||||||
std::move(callback));
|
std::move(callback));
|
||||||
|
|
Loading…
Reference in a new issue