diff options
Diffstat (limited to 'content/browser/media/capture/desktop_capture_device.cc')
-rw-r--r-- | content/browser/media/capture/desktop_capture_device.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/content/browser/media/capture/desktop_capture_device.cc b/content/browser/media/capture/desktop_capture_device.cc index bb546c2..410a224 100644 --- a/content/browser/media/capture/desktop_capture_device.cc +++ b/content/browser/media/capture/desktop_capture_device.cc @@ -174,9 +174,11 @@ void DesktopCaptureDevice::Core::AllocateAndStart( // This capturer always outputs ARGB, non-interlaced. capture_format_.pixel_format = media::PIXEL_FORMAT_ARGB; - power_save_blocker_.reset(PowerSaveBlocker::Create( - PowerSaveBlocker::kPowerSaveBlockPreventDisplaySleep, - "DesktopCaptureDevice is running").release()); + power_save_blocker_.reset( + PowerSaveBlocker::Create( + PowerSaveBlocker::kPowerSaveBlockPreventDisplaySleep, + PowerSaveBlocker::kReasonOther, + "DesktopCaptureDevice is running").release()); desktop_capturer_->Start(this); |