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

Unified Diff: media/formats/mp4/avc.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/mp2t/mp2t_stream_parser.cc ('k') | media/formats/mp4/box_definitions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp4/avc.cc
diff --git a/media/formats/mp4/avc.cc b/media/formats/mp4/avc.cc
index 01f7df216a10251096b6575d0a83a9c93b5ba552..3844bef4c6d0ca15eeff9d23f3b5a130609191b0 100644
--- a/media/formats/mp4/avc.cc
+++ b/media/formats/mp4/avc.cc
@@ -5,6 +5,7 @@
#include "media/formats/mp4/avc.h"
#include <algorithm>
+#include <utility>
#include "base/logging.h"
#include "media/base/decrypt_config.h"
@@ -311,7 +312,7 @@ bool AVC::IsValidAnnexB(const uint8_t* buffer,
AVCBitstreamConverter::AVCBitstreamConverter(
scoped_ptr<AVCDecoderConfigurationRecord> avc_config)
- : avc_config_(avc_config.Pass()) {
+ : avc_config_(std::move(avc_config)) {
DCHECK(avc_config_);
}
« no previous file with comments | « media/formats/mp2t/mp2t_stream_parser.cc ('k') | media/formats/mp4/box_definitions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698