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

Unified Diff: media/base/video_frame_metadata.cc

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: . 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
Index: media/base/video_frame_metadata.cc
diff --git a/media/base/video_frame_metadata.cc b/media/base/video_frame_metadata.cc
index 6aa322669c822cbcc5b88a7ca57b31319fe2b385..1fcba0f3adf8168783392331557a904c16930a93 100644
--- a/media/base/video_frame_metadata.cc
+++ b/media/base/video_frame_metadata.cc
@@ -73,7 +73,7 @@ void VideoFrameMetadata::SetTimeTicks(Key key, const base::TimeTicks& value) {
SetTimeValue(key, value, &dictionary_);
}
-void VideoFrameMetadata::SetValue(Key key, scoped_ptr<base::Value> value) {
+void VideoFrameMetadata::SetValue(Key key, std::unique_ptr<base::Value> value) {
dictionary_.SetWithoutPathExpansion(ToInternalKey(key), std::move(value));
}

Powered by Google App Engine
This is Rietveld 408576698