desktopCapture: prevent display sleeping for web-contents capturer.
The new web-contents capturers don't request wake lock as the old version does, given the thought it's the applications responsibility to do so. But the fact is there are many consumers of the video stream from tab capturing and none of them is doing wake-lock. So it seems it's most convenient to re-do the wake lock requesting in the new web-contents capturers for now. This cl is to fix the regressions. We may revisit this if all the remoting impls have wake lock applied. Bug: 917529 Change-Id: I6ce726dcd3e45666079e9e856b5eff2914237e96 Reviewed-on: https://chromium-review.googlesource.com/c/1401844 Commit-Queue: Yuri Wiitala <miu@chromium.org> Reviewed-by:Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#625109}
Showing
Please register or sign in to comment