| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 6f3c7f85dd179967a05477702d74ebea64419e42..2bd939803068b8ec26fe36b29c3b9520917c1ab4 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -2806,6 +2806,11 @@ void RenderProcessHostImpl::UpdateProcessPriority() {
|
| return;
|
| }
|
|
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableRendererPriorityManagement)) {
|
| + return;
|
| + }
|
| +
|
| // We background a process as soon as it hosts no active audio streams and no
|
| // visible widgets -- the callers must call this function whenever we
|
| // transition in/out of those states.
|
|
|