Rough idea:
1) Move WorkerGlobalScope::countFeature() to WorkerOrWorkletGlobalScope
2) Make UseCounter::count() call countFeature() for WorkerOrWorkletGlobalScope
3) Move countOnDocument() in DedicatedWorkerGlobalScope.cpp to somewhere to share it among workers and worklets.
Comment 1 by nhiroki@chromium.org
, Nov 21 2016Status: Assigned (was: Available)