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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc

Issue 2476373002: [scheduler] Do not use audio signal in policy for renderer scheduler. (Closed)
Patch Set: added TODO Created 4 years, 1 month 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: third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc b/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc
index c6e8f3e794960f330947e9cc1baf4a7e63d67e12..80d57adebf1fc4a68a57905340aedbbd0da2166a 100644
--- a/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc
@@ -1034,9 +1034,9 @@ void RendererSchedulerImpl::UpdatePolicyLocked(UpdateType update_type) {
new_policy.timer_queue_policy.time_domain_type = TimeDomainType::VIRTUAL;
}
- new_policy.should_disable_throttling =
- ShouldDisableThrottlingBecauseOfAudio(now) ||
- MainThreadOnly().use_virtual_time;
+ // TODO(altimin): Taking audio state into account here is temporarily
+ // disabled because of failing webrtc bots. Investigate and fix ASAP.
+ new_policy.should_disable_throttling = MainThreadOnly().use_virtual_time;
// Tracing is done before the early out check, because it's quite possible we
// will otherwise miss this information in traces.
« 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