aboutsummaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-bug1041268
blob: d4ab1a91395e2bd1c6ed08536cb43da108f57b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
--- media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.cc
+++ 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
--- media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer.h
+++ 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);