Remove StandbyThreadPolicy.

Since the TaskScheduler is now actively being used, StandbyThreadPolicy::LAZY is no 
longer useful as a thread will at some point always be created.

Bug: 738104
Change-Id: Ib18779420d867fcbce091c6bd1161b9fbb863c0e
Reviewed-on: https://chromium-review.googlesource.com/562017
Commit-Queue: Jeffrey He <[email protected]>
Reviewed-by: John Abd-El-Malek <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Reviewed-by: Eugene But <[email protected]>
Reviewed-by: Scott Byer <[email protected]>
Reviewed-by: Francois Doray <[email protected]>
Reviewed-by: Robert Liao <[email protected]>
Cr-Commit-Position: refs/heads/master@{#489782}
diff --git a/content/renderer/render_process_impl.cc b/content/renderer/render_process_impl.cc
index a68c26fb..d2e3edb 100644
--- a/content/renderer/render_process_impl.cc
+++ b/content/renderer/render_process_impl.cc
@@ -76,8 +76,6 @@
 
 std::unique_ptr<base::TaskScheduler::InitParams>
 GetDefaultTaskSchedulerInitParams() {
-  using StandbyThreadPolicy =
-      base::SchedulerWorkerPoolParams::StandbyThreadPolicy;
 
   constexpr int kMaxNumThreadsInBackgroundPool = 1;
   constexpr int kMaxNumThreadsInBackgroundBlockingPool = 1;
@@ -86,20 +84,16 @@
   constexpr auto kSuggestedReclaimTime = base::TimeDelta::FromSeconds(30);
 
   return base::MakeUnique<base::TaskScheduler::InitParams>(
-      base::SchedulerWorkerPoolParams(StandbyThreadPolicy::LAZY,
-                                      kMaxNumThreadsInBackgroundPool,
+      base::SchedulerWorkerPoolParams(kMaxNumThreadsInBackgroundPool,
                                       kSuggestedReclaimTime),
-      base::SchedulerWorkerPoolParams(StandbyThreadPolicy::LAZY,
-                                      kMaxNumThreadsInBackgroundBlockingPool,
+      base::SchedulerWorkerPoolParams(kMaxNumThreadsInBackgroundBlockingPool,
                                       kSuggestedReclaimTime),
       base::SchedulerWorkerPoolParams(
-          StandbyThreadPolicy::LAZY,
           std::max(
               kMaxNumThreadsInForegroundPoolLowerBound,
               content::GetMinThreadsInRendererTaskSchedulerForegroundPool()),
           kSuggestedReclaimTime),
-      base::SchedulerWorkerPoolParams(StandbyThreadPolicy::LAZY,
-                                      kMaxNumThreadsInForegroundBlockingPool,
+      base::SchedulerWorkerPoolParams(kMaxNumThreadsInForegroundBlockingPool,
                                       kSuggestedReclaimTime));
 }