Power profiler should check for the capability CanProfilePower
The patch [1] removed the global capabilities set. The power profiler depends on whether there exists a power service and it has a valid data provider. If these are met, only then the devtools can do power profiling. The checkbox "Power" should only be visible if the capability exists. Restoring the required checks. [1] https://codereview.chromium.org/388963004 Review URL: https://codereview.chromium.org/463853002 git-svn-id: svn://svn.chromium.org/blink/trunk@180058 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment