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

Unified Diff: media/cast/net/rtp/framer.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/net/rtp/cast_message_builder_unittest.cc ('k') | media/cast/net/rtp/rtp_packetizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtp/framer.h
diff --git a/media/cast/net/rtp/framer.h b/media/cast/net/rtp/framer.h
index 1efe4c23d1fc8b33cfe19326d05664ef91bacba9..8e34752d2138c57286f7ab8f66253a2847d5e706 100644
--- a/media/cast/net/rtp/framer.h
+++ b/media/cast/net/rtp/framer.h
@@ -9,10 +9,10 @@
#include <stdint.h>
#include <map>
+#include <memory>
#include "base/macros.h"
#include "base/memory/linked_ptr.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/tick_clock.h"
#include "base/time/time.h"
#include "media/cast/net/rtp/cast_message_builder.h"
@@ -84,7 +84,7 @@ class Framer {
const bool decoder_faster_than_max_frame_rate_;
FrameList frames_;
- scoped_ptr<CastMessageBuilder> cast_msg_builder_;
+ std::unique_ptr<CastMessageBuilder> cast_msg_builder_;
bool waiting_for_key_;
uint32_t last_released_frame_;
uint32_t newest_frame_id_;
« no previous file with comments | « media/cast/net/rtp/cast_message_builder_unittest.cc ('k') | media/cast/net/rtp/rtp_packetizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698