Index: remoting/codec/scoped_vpx_codec.h |
diff --git a/remoting/codec/scoped_vpx_codec.h b/remoting/codec/scoped_vpx_codec.h |
index bf03c64909b9b48340ebc6bac920d429a34708ae..89a6d128289b092939b2194faaab31d0ef980d6b 100644 |
--- a/remoting/codec/scoped_vpx_codec.h |
+++ b/remoting/codec/scoped_vpx_codec.h |
@@ -5,7 +5,7 @@ |
#ifndef REMOTING_CODEC_SCOPED_VPX_CODEC_H_ |
#define REMOTING_CODEC_SCOPED_VPX_CODEC_H_ |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
extern "C" { |
typedef struct vpx_codec_ctx vpx_codec_ctx_t; |
@@ -17,7 +17,7 @@ struct VpxCodecDeleter { |
void operator()(vpx_codec_ctx_t* codec); |
}; |
-typedef scoped_ptr<vpx_codec_ctx_t, VpxCodecDeleter> ScopedVpxCodec; |
+typedef std::unique_ptr<vpx_codec_ctx_t, VpxCodecDeleter> ScopedVpxCodec; |
} // namespace remoting |