RESOLVED FIXED 211240
WebCore::systemHasBattery() is unnecessarily expensive on iOS
https://bugs.webkit.org/show_bug.cgi?id=211240
Summary WebCore::systemHasBattery() is unnecessarily expensive on iOS
Chris Dumez
Reported 2020-04-30 10:51:51 PDT
WebCore::systemHasBattery() is unnecessarily expensive on iOS since iOS devices always have a battery.
Attachments
Patch (1.82 KB, patch)
2020-04-30 10:53 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-04-30 10:52:01 PDT
Chris Dumez
Comment 2 2020-04-30 10:53:43 PDT
Geoffrey Garen
Comment 3 2020-04-30 11:01:35 PDT
Comment on attachment 398066 [details] Patch I look forward to finding this code ten years from now, to fix a new hardware bug. 😬
EWS
Comment 4 2020-04-30 12:43:19 PDT
Committed r260960: <https://trac.webkit.org/changeset/260960> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398066 [details].
Note You need to log in before you can comment on or make changes to this bug.