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

Unified Diff: media/base/video_frame_metadata.cc

Issue 1544313002: Convert Pass()→std::move() in //media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/base/text_renderer_unittest.cc ('k') | media/blink/active_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame_metadata.cc
diff --git a/media/base/video_frame_metadata.cc b/media/base/video_frame_metadata.cc
index 31b19188efb5082148c4c5d1140765fcbea2298f..2ecf002550cd523d1c48dbee27144f5b47b9794d 100644
--- a/media/base/video_frame_metadata.cc
+++ b/media/base/video_frame_metadata.cc
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "media/base/video_frame_metadata.h"
+
#include <stdint.h>
+#include <utility>
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
-#include "media/base/video_frame_metadata.h"
namespace media {
@@ -72,7 +74,7 @@ void VideoFrameMetadata::SetTimeTicks(Key key, const base::TimeTicks& value) {
}
void VideoFrameMetadata::SetValue(Key key, scoped_ptr<base::Value> value) {
- dictionary_.SetWithoutPathExpansion(ToInternalKey(key), value.Pass());
+ dictionary_.SetWithoutPathExpansion(ToInternalKey(key), std::move(value));
}
bool VideoFrameMetadata::GetBoolean(Key key, bool* value) const {
« no previous file with comments | « media/base/text_renderer_unittest.cc ('k') | media/blink/active_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698