gpu: Use ABOVE_NORMAL_PRIORITY_CLASS for gpu process

HIGH_PRIORITY_CLASS uses priority level 10 for THREAD_PRIORITY_LOWEST,
which is higher than THREAD_PRIORITY_NORMAL (8) used by most Chrome
threads.  ABOVE_NORMAL_PRIORITY_CLASS should give us the same benefit
without the drawbacks.  This only affects the GpuProcessHighPriorityWin
experiment.

Bug: 965778
Change-Id: I59fa93bd534bfe0e0c2014735bb7d13e82715f6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1705575
Reviewed-by: Zhenyao Mo <[email protected]>
Commit-Queue: Sunny Sachanandani <[email protected]>
Auto-Submit: Sunny Sachanandani <[email protected]>
Cr-Commit-Position: refs/heads/master@{#678403}
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 3e3b103..a7d9f79 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -230,7 +230,7 @@
       base::win::ScopedCOMInitializer::kMTA);
 
   if (base::FeatureList::IsEnabled(features::kGpuProcessHighPriorityWin))
-    ::SetPriorityClass(::GetCurrentProcess(), HIGH_PRIORITY_CLASS);
+    ::SetPriorityClass(::GetCurrentProcess(), ABOVE_NORMAL_PRIORITY_CLASS);
 #endif
 
   logging::SetLogMessageHandler(GpuProcessLogMessageHandler);