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

Unified Diff: media/formats/mp4/hevc.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/box_definitions.cc ('k') | media/formats/mp4/mp4_stream_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp4/hevc.cc
diff --git a/media/formats/mp4/hevc.cc b/media/formats/mp4/hevc.cc
index ff964b08fd7f3177fa4a97cf728bee115b603065..49f13c0e2e14d7bc635df23ddc858e01b844ec88 100644
--- a/media/formats/mp4/hevc.cc
+++ b/media/formats/mp4/hevc.cc
@@ -5,6 +5,7 @@
#include "media/formats/mp4/hevc.h"
#include <algorithm>
+#include <utility>
#include <vector>
#include "base/logging.h"
@@ -209,7 +210,7 @@ bool HEVC::IsValidAnnexB(const uint8_t* buffer,
HEVCBitstreamConverter::HEVCBitstreamConverter(
scoped_ptr<HEVCDecoderConfigurationRecord> hevc_config)
- : hevc_config_(hevc_config.Pass()) {
+ : hevc_config_(std::move(hevc_config)) {
DCHECK(hevc_config_);
}
« no previous file with comments | « media/formats/mp4/box_definitions.cc ('k') | media/formats/mp4/mp4_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698