Chromium Code Reviews

Unified Diff: webrtc/modules/desktop_capture/desktop_capture_options.cc

Issue 1845113002: DirectX based screen capturer logic (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove unchanged files Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/desktop_capture/desktop_capture_options.cc
diff --git a/webrtc/modules/desktop_capture/desktop_capture_options.cc b/webrtc/modules/desktop_capture/desktop_capture_options.cc
index b7f123b9d137ac11897f6fa362c3838655d09237..8c22376adad9d8d7912a5b0874eac5133fcf524d 100644
--- a/webrtc/modules/desktop_capture/desktop_capture_options.cc
+++ b/webrtc/modules/desktop_capture/desktop_capture_options.cc
@@ -12,21 +12,6 @@
namespace webrtc {
-DesktopCaptureOptions::DesktopCaptureOptions()
- : use_update_notifications_(true),
- disable_effects_(true) {
-#if defined(USE_X11)
- // XDamage is often broken, so don't use it by default.
- use_update_notifications_ = false;
-#endif
-
-#if defined(WEBRTC_WIN)
- allow_use_magnification_api_ = false;
-#endif
-}
-
-DesktopCaptureOptions::~DesktopCaptureOptions() {}
-
// static
DesktopCaptureOptions DesktopCaptureOptions::CreateDefault() {
DesktopCaptureOptions result;

Powered by Google App Engine