From 349db5edcb67574f646eca7b336b9571b9777816 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 10 May 2021 08:57:27 +0200 Subject: Follow InProcessGpuThread::Init() on thread priority MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If they use NORMAL, then we should too. Change-Id: I252b4606c692ba483434c126fcda3a7484f399e2 Reviewed-by: Jüri Valdmann --- src/core/web_engine_context_threads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/web_engine_context_threads.cpp b/src/core/web_engine_context_threads.cpp index 5f9e345f7..5aa4c3e1e 100644 --- a/src/core/web_engine_context_threads.cpp +++ b/src/core/web_engine_context_threads.cpp @@ -84,7 +84,7 @@ struct GpuThreadControllerQt : content::GpuThreadController if (s_gpuProcessDestroyed) return; - s_gpuProcess = std::make_unique(base::ThreadPriority::DISPLAY); + s_gpuProcess = std::make_unique(base::ThreadPriority::NORMAL); auto gpuInit = std::make_unique(); gpuInit->InitializeInProcess(base::CommandLine::ForCurrentProcess(), gpuPreferences); auto childThread = new content::GpuChildThread(params, std::move(gpuInit)); -- cgit v1.2.3