Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: remoting/codec/scoped_vpx_codec.h

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/codec/codec_test.cc ('k') | remoting/codec/video_decoder_verbatim.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « remoting/codec/codec_test.cc ('k') | remoting/codec/video_decoder_verbatim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698