Index: webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc |
diff --git a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc |
index 4c6e27e561eaa19794df980f63bf9028924b697f..52b111c3506882676f5dee5f596c993ad9b83cfb 100644 |
--- a/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc |
+++ b/webrtc/modules/desktop_capture/desktop_and_cursor_composer.cc |
@@ -138,7 +138,7 @@ |
} |
void DesktopAndCursorComposer::SetSharedMemoryFactory( |
- std::unique_ptr<SharedMemoryFactory> shared_memory_factory) { |
+ rtc::scoped_ptr<SharedMemoryFactory> shared_memory_factory) { |
desktop_capturer_->SetSharedMemoryFactory(std::move(shared_memory_factory)); |
} |