[MBI] Get rid of g_current_agent_group_scheduler_impl global variable
[Target problem] - The current code uses g_current_agent_group_scheduler_impl global variable. [What this CL does] - Get rid of the g_current_agent_group_scheduler_impl global variable, and keep this pointer in MainThreadSchedulerImpl as a field. - Make it possible to access current AGS from arbitrary places with `ThreadScheduler::Current()->GetCurrentAgentGroupScheduler()`. [Related design doc] https://docs.google.com/document/d/1y-vHkrD1z2RtyWYwT6rJkSLHClYNjDDpUbTtBU7l95A Bug: 1105403 Change-Id: Iac332a9400bc20537e5d64ce700d0e5866e7f406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2427945 Commit-Queue: Minoru Chikamune <chikamune@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Tal Pressman <talp@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#810234}
Showing
Please register or sign in to comment