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

Unified Diff: media/cast/sender/frame_sender.h

Issue 1905763002: Convert //media/cast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « media/cast/sender/fake_video_encode_accelerator_factory.h ('k') | media/cast/sender/frame_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/frame_sender.h
diff --git a/media/cast/sender/frame_sender.h b/media/cast/sender/frame_sender.h
index 7a58abaa9e387e3b2020a535d8330d05c7b741c6..71012901133d18f88cd32222e4b1e64f97be8bec 100644
--- a/media/cast/sender/frame_sender.h
+++ b/media/cast/sender/frame_sender.h
@@ -51,7 +51,7 @@ class FrameSender {
// Called by the encoder with the next EncodeFrame to send.
void SendEncodedFrame(int requested_bitrate_before_encode,
- scoped_ptr<SenderEncodedFrame> encoded_frame);
+ std::unique_ptr<SenderEncodedFrame> encoded_frame);
protected:
// Returns the number of frames in the encoder's backlog.
@@ -164,7 +164,7 @@ class FrameSender {
// This object controls how we change the bitrate to make sure the
// buffer doesn't overflow.
- scoped_ptr<CongestionControl> congestion_control_;
+ std::unique_ptr<CongestionControl> congestion_control_;
// The most recently measured round trip time.
base::TimeDelta current_round_trip_time_;
« no previous file with comments | « media/cast/sender/fake_video_encode_accelerator_factory.h ('k') | media/cast/sender/frame_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698