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_); |
} |