[scheduling] Do not call UpdatePolicy when changing compositor priority.
Removing two full updatePolicy calls as they aren't necessary when only changing the compositor priority. We DCHECK that there is only one compositor task queue so directly changing the policy and computing the new priority for just the compositor task queue is sufficient and avoids the extra steps of a full policy update. Change-Id: I7f8226e01b42032ea893a5347a1a0fdad2bf5c2d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2302971 Commit-Queue: Katie Dillon <kdillon@chromium.org> Reviewed-by:Scott Haseley <shaseley@chromium.org> Cr-Commit-Position: refs/heads/master@{#796451}
Showing
Please register or sign in to comment