| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 528148a032ee5109502e4ad58487fa4e8fd40dfc..7f7f75b723642e43b069c7bed152f16641be1989 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -3535,17 +3535,9 @@ void ChromeContentBrowserClient::CreateMediaRemoter(
|
| }
|
| #endif // BUILDFLAG(ENABLE_MEDIA_REMOTING)
|
|
|
| -void ChromeContentBrowserClient::GetTaskSchedulerInitializationParams(
|
| - std::vector<base::SchedulerWorkerPoolParams>* params_vector,
|
| - base::TaskScheduler::WorkerPoolIndexForTraitsCallback*
|
| - index_to_traits_callback) {
|
| - DCHECK(params_vector);
|
| - DCHECK(index_to_traits_callback);
|
| - // If this call fails, content will fall back to the default params.
|
| - *params_vector =
|
| - task_scheduler_util::GetBrowserWorkerPoolParamsFromVariations();
|
| - *index_to_traits_callback =
|
| - base::Bind(&task_scheduler_util::BrowserWorkerPoolIndexForTraits);
|
| +std::unique_ptr<base::TaskSchedulerInitParams>
|
| +ChromeContentBrowserClient::GetTaskSchedulerInitParams() {
|
| + return task_scheduler_util::GetBrowserTaskSchedulerInitParamsFromVariations();
|
| }
|
|
|
| void ChromeContentBrowserClient::
|
|
|