Index: remoting/host/desktop_capturer_proxy.cc |
diff --git a/remoting/host/desktop_capturer_proxy.cc b/remoting/host/desktop_capturer_proxy.cc |
index 343686a1f1a85bd1870f5de64fbc28c4c8e6adca..a539fabbed1a3d7620db8f709d1facf121080a93 100644 |
--- a/remoting/host/desktop_capturer_proxy.cc |
+++ b/remoting/host/desktop_capturer_proxy.cc |
@@ -74,7 +74,7 @@ void DesktopCapturerProxy::Core::CreateCapturer( |
#if defined(OS_CHROMEOS) |
capturer_.reset(new AuraDesktopCapturer()); |
#else // !defined(OS_CHROMEOS) |
- capturer_.reset(webrtc::ScreenCapturer::Create(options)); |
+ capturer_ = webrtc::DesktopCapturer::CreateScreenCapturer(options); |
#endif // !defined(OS_CHROMEOS) |
if (!capturer_) |
LOG(ERROR) << "Failed to initialize screen capturer."; |