Increase priority of the EndTracing task (fixes issue #3288)

Use a priority that is guaranteed to execute in a reasonable amount of time.
This commit is contained in:
Marshall Greenblatt 2022-03-23 17:30:56 -04:00
parent 9d52d72ae5
commit e43d2054d1
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ bool CefTraceSubscriber::EndTracing(const base::FilePath& tracing_file,
TracingController::GetInstance()->StopTracing(
TracingController::CreateFileEndpoint(tracing_file,
std::move(result_callback)));
std::move(result_callback),
base::TaskPriority::USER_VISIBLE));
return true;
}