Index: webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc |
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc b/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc |
index 022e1ce9e6fa86f04f57b6884b279aeda54f4a91..5a494f424a80a023f47b565b7206b3cdf6f6b5b9 100644 |
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc |
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.cc |
@@ -75,8 +75,7 @@ ScreenCapturerWinGdi::~ScreenCapturerWinGdi() { |
void ScreenCapturerWinGdi::SetSharedMemoryFactory( |
rtc::scoped_ptr<SharedMemoryFactory> shared_memory_factory) { |
- shared_memory_factory_ = |
- rtc::ScopedToUnique(std::move(shared_memory_factory)); |
+ shared_memory_factory_ = std::move(shared_memory_factory); |
} |
void ScreenCapturerWinGdi::Capture(const DesktopRegion& region) { |