Index: remoting/codec/video_encoder.h |
diff --git a/remoting/codec/video_encoder.h b/remoting/codec/video_encoder.h |
index 9da447c1336f17394dd54b6d5273f81c4656f48a..662951843873be8b68f8fc7d8febb9439fef1ed7 100644 |
--- a/remoting/codec/video_encoder.h |
+++ b/remoting/codec/video_encoder.h |
@@ -5,7 +5,7 @@ |
#ifndef REMOTING_CODEC_VIDEO_ENCODER_H_ |
#define REMOTING_CODEC_VIDEO_ENCODER_H_ |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
namespace webrtc { |
class DesktopFrame; |
@@ -29,7 +29,8 @@ class VideoEncoder { |
// then the encoder may return a packet (e.g. to top-off previously-encoded |
// portions of the frame to higher quality) or return nullptr to indicate that |
// there is no work to do. |
- virtual scoped_ptr<VideoPacket> Encode(const webrtc::DesktopFrame& frame) = 0; |
+ virtual std::unique_ptr<VideoPacket> Encode( |
+ const webrtc::DesktopFrame& frame) = 0; |
}; |
} // namespace remoting |