Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1435)

Unified Diff: components/scheduler/renderer/renderer_scheduler_impl.cc

Issue 1927883002: DO NOT LAND: Disable rAF prioritization Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/renderer/renderer_scheduler_impl.cc
diff --git a/components/scheduler/renderer/renderer_scheduler_impl.cc b/components/scheduler/renderer/renderer_scheduler_impl.cc
index f241d7bb755b5c2ca1f66aeb42c9d38581ed7d3f..9f97b471223196975fcdabad7e2ee435a6d12f47 100644
--- a/components/scheduler/renderer/renderer_scheduler_impl.cc
+++ b/components/scheduler/renderer/renderer_scheduler_impl.cc
@@ -697,7 +697,7 @@ void RendererSchedulerImpl::UpdatePolicyLocked(UpdateType update_type) {
break;
case UseCase::SYNCHRONIZED_GESTURE:
- new_policy.compositor_queue_policy.priority = TaskQueue::HIGH_PRIORITY;
+ //new_policy.compositor_queue_policy.priority = TaskQueue::HIGH_PRIORITY;
if (touchstart_expected_soon) {
expensive_task_policy = ExpensiveTaskPolicy::BLOCK;
} else {
@@ -710,7 +710,7 @@ void RendererSchedulerImpl::UpdatePolicyLocked(UpdateType update_type) {
// things we should be prioritizing, so we don't attempt to block
// expensive tasks because we don't know whether they were integral to the
// page's functionality or not.
- new_policy.compositor_queue_policy.priority = TaskQueue::HIGH_PRIORITY;
+ //new_policy.compositor_queue_policy.priority = TaskQueue::HIGH_PRIORITY;
break;
case UseCase::TOUCHSTART:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698