Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1232)

Unified Diff: remoting/host/desktop_capturer_proxy.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.";
« no previous file with comments | « remoting/android/java/src/org/chromium/chromoting/RenderData.java ('k') | remoting/host/single_window_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698