Index: webrtc/modules/desktop_capture/mouse_cursor_monitor_unittest.cc |
diff --git a/webrtc/modules/desktop_capture/mouse_cursor_monitor_unittest.cc b/webrtc/modules/desktop_capture/mouse_cursor_monitor_unittest.cc |
index 59ad8e06a161c1c2b3780a016a80a0eeddd3a8fe..fcd870ced7f7d6b8ea64482dea157937ea561033 100644 |
--- a/webrtc/modules/desktop_capture/mouse_cursor_monitor_unittest.cc |
+++ b/webrtc/modules/desktop_capture/mouse_cursor_monitor_unittest.cc |
@@ -87,8 +87,8 @@ TEST_F(MouseCursorMonitorTest, MAYBE(FromWindow)) { |
DesktopCaptureOptions options = DesktopCaptureOptions::CreateDefault(); |
// First get list of windows. |
- std::unique_ptr<WindowCapturer> window_capturer( |
- WindowCapturer::Create(options)); |
+ std::unique_ptr<DesktopCapturer> window_capturer( |
+ DesktopCapturer::CreateWindowCapturer(options)); |
// If window capturing is not supported then skip this test. |
if (!window_capturer.get()) |