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

Unified Diff: media/base/decoder_buffer.h

Issue 1544313002: Convert Pass()→std::move() in //media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/base/data_buffer_unittest.cc ('k') | media/base/media_file_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/decoder_buffer.h
diff --git a/media/base/decoder_buffer.h b/media/base/decoder_buffer.h
index ae1a9930fbe3c000e5540d5aec9e18b676396387..3460e05a8489d46abfbaa4af02a0b5a48d589cbe 100644
--- a/media/base/decoder_buffer.h
+++ b/media/base/decoder_buffer.h
@@ -141,7 +141,7 @@ class MEDIA_EXPORT DecoderBuffer
void set_decrypt_config(scoped_ptr<DecryptConfig> decrypt_config) {
DCHECK(!end_of_stream());
- decrypt_config_ = decrypt_config.Pass();
+ decrypt_config_ = std::move(decrypt_config);
}
// If there's no data in this buffer, it represents end of stream.
« no previous file with comments | « media/base/data_buffer_unittest.cc ('k') | media/base/media_file_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698