diff --git media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.cc media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.cc index 97f69d3..77a50b3 100644 --- mozilla/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.cc +++ mozilla/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.cc @@ -18,7 +18,7 @@ ScreenCapturer* ScreenCapturer::Create() { return Create(DesktopCaptureOptions::CreateDefault()); } -#if defined(WEBRTC_LINUX) +#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) ScreenCapturer* ScreenCapturer::CreateWithXDamage( bool use_update_notifications) { DesktopCaptureOptions options; diff --git media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.h media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.h index a8d40a7..177a6c1 100644 --- mozilla/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.h +++ mozilla/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.h @@ -74,7 +74,7 @@ class ScreenCapturer : public DesktopCapturer { static ScreenCapturer* Create(const DesktopCaptureOptions& options); static ScreenCapturer* Create(); -#if defined(WEBRTC_LINUX) +#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) // Creates platform-specific capturer and instructs it whether it should use // X DAMAGE support. static ScreenCapturer* CreateWithXDamage(bool use_x_damage);