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

Unified Diff: webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h

Issue 1721353002: Replace scoped_ptr with unique_ptr in webrtc/modules/video_coding/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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
Index: webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h
index 0bf06ac4042dede66d3c6c64afce4436a901a2d1..d9dee438800dfa63daf33f03ed827a03ed655d19 100644
--- a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h
+++ b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h
@@ -14,9 +14,9 @@
#include "webrtc/modules/video_coding/codecs/h264/include/h264.h"
+#include <memory>
#include <vector>
-#include "webrtc/base/scoped_ptr.h"
class ISVCEncoder;
@@ -61,7 +61,7 @@ class H264EncoderImpl : public H264Encoder {
VideoCodec codec_settings_;
EncodedImage encoded_image_;
- rtc::scoped_ptr<uint8_t[]> encoded_image_buffer_;
+ std::unique_ptr<uint8_t[]> encoded_image_buffer_;
EncodedImageCallback* encoded_image_callback_;
};

Powered by Google App Engine
This is Rietveld 408576698