Index: webrtc/modules/desktop_capture/shared_memory.h |
diff --git a/webrtc/modules/desktop_capture/shared_memory.h b/webrtc/modules/desktop_capture/shared_memory.h |
index 45f531e0d53dfe27095804fffbc18a10f9190c0c..6e15f23f6b8a4a0429f2d4aa2c09228f447d03bc 100644 |
--- a/webrtc/modules/desktop_capture/shared_memory.h |
+++ b/webrtc/modules/desktop_capture/shared_memory.h |
@@ -17,8 +17,9 @@ |
#include <windows.h> |
#endif |
+#include <memory> |
+ |
#include "webrtc/base/constructormagic.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/typedefs.h" |
namespace webrtc { |
@@ -69,7 +70,7 @@ class SharedMemoryFactory { |
SharedMemoryFactory() {} |
virtual ~SharedMemoryFactory() {} |
- virtual rtc::scoped_ptr<SharedMemory> CreateSharedMemory(size_t size) = 0; |
+ virtual std::unique_ptr<SharedMemory> CreateSharedMemory(size_t size) = 0; |
private: |
RTC_DISALLOW_COPY_AND_ASSIGN(SharedMemoryFactory); |