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

Unified Diff: media/formats/mp4/mp4_stream_parser.cc

Issue 1553493002: Global conversion of Pass()→std::move() on OS=linux chromecast=1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix fragile include order 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/formats/mp4/hevc.cc ('k') | ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp4/mp4_stream_parser.cc
diff --git a/media/formats/mp4/mp4_stream_parser.cc b/media/formats/mp4/mp4_stream_parser.cc
index 6faf3035bed1200ef694bc38d372ff5e546ff93e..ee88ea14ef1142e21a3594f33ccc36275db78b85 100644
--- a/media/formats/mp4/mp4_stream_parser.cc
+++ b/media/formats/mp4/mp4_stream_parser.cc
@@ -5,8 +5,8 @@
#include "media/formats/mp4/mp4_stream_parser.h"
#include <stddef.h>
-
#include <limits>
+#include <utility>
#include <vector>
#include "base/callback_helpers.h"
@@ -530,7 +530,7 @@ bool MP4StreamParser::EnqueueSample(BufferQueue* audio_buffers,
buffer_type, 0);
if (decrypt_config)
- stream_buf->set_decrypt_config(decrypt_config.Pass());
+ stream_buf->set_decrypt_config(std::move(decrypt_config));
stream_buf->set_duration(runs_->duration());
stream_buf->set_timestamp(runs_->cts());
« no previous file with comments | « media/formats/mp4/hevc.cc ('k') | ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698