mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
[desktop capture] remove dependencies on webrtc/desktop_capture from /chrome
https://chromium-review.googlesource.com/876723
This commit is contained in:
committed by
Samuel Attard
parent
5e320994f4
commit
6b77fa5b3b
@@ -59,7 +59,7 @@ void DesktopCapturer::StartHandling(bool capture_window,
|
||||
bool capture_screen,
|
||||
const gfx::Size& thumbnail_size) {
|
||||
webrtc::DesktopCaptureOptions options =
|
||||
content::CreateDesktopCaptureOptions();
|
||||
content::desktop_capture::CreateDesktopCaptureOptions();
|
||||
#if defined(OS_WIN)
|
||||
using_directx_capturer_ = options.allow_directx_capturer();
|
||||
#endif // defined(OS_WIN)
|
||||
|
||||
Reference in New Issue
Block a user