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