Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

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: Recreate DXGIDuplicateOutput if AcquireNextFrame does not return a known error code. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « webrtc/modules/desktop_capture/desktop_capture_options.h ('k') | webrtc/modules/desktop_capture/desktop_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698