WorkerThread is an overloaded class and its concept is getting unclear. It has a bit too much functionalities and some of them would be misplaced or broken because worklets were introduced.
To improve the situation, we could...
* redefine WorkerThread as a per-global-scope object and rename it to something more appropriate name like GlobalScopeController, and
* redefine WorkerBackingThread as a per-platform-thread object and move per-platform-thread things from GlobalScopeController to WorkerBackingThread.
See the design document for more details: https://docs.google.com/document/d/1a0qQwfquxsPLFRmVfaySHic02ll-TaR50J7Va91cL3U/edit?usp=sharing
Comment 1 by bugdroid1@chromium.org
, Apr 20 2017