Index: webrtc/modules/desktop_capture/window_capturer_mac.mm |
diff --git a/webrtc/modules/desktop_capture/window_capturer_mac.mm b/webrtc/modules/desktop_capture/window_capturer_mac.mm |
index 2272b3f51e1362aadd5f7e6edfb8eeb55134d9a2..72b20f3411b80af0fd9d3bc790d12df2aa6a012a 100644 |
--- a/webrtc/modules/desktop_capture/window_capturer_mac.mm |
+++ b/webrtc/modules/desktop_capture/window_capturer_mac.mm |
@@ -241,4 +241,11 @@ WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) { |
return new WindowCapturerMac(options.full_screen_chrome_window_detector()); |
} |
+// static |
+std::unique_ptr<DesktopCapturer> DesktopCapturer::CreateRawWindowCapturer( |
+ const DesktopCaptureOptions& options) { |
+ return std::unique_ptr<DesktopCapturer>( |
+ new WindowCapturerMac(options.full_screen_chrome_window_detector())); |
+} |
+ |
} // namespace webrtc |