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

Unified Diff: chromecast/media/cma/base/decoder_buffer_base.h

Issue 1553503002: Convert Pass()→std::move() in //chromecast (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
Index: chromecast/media/cma/base/decoder_buffer_base.h
diff --git a/chromecast/media/cma/base/decoder_buffer_base.h b/chromecast/media/cma/base/decoder_buffer_base.h
index 4249f383f340206a8e978a052d9c49514b4a7ec7..34710a52431c11261590ebcd4244a795c8dca24f 100644
--- a/chromecast/media/cma/base/decoder_buffer_base.h
+++ b/chromecast/media/cma/base/decoder_buffer_base.h
@@ -6,6 +6,7 @@
#define CHROMECAST_MEDIA_CMA_BASE_DECODER_BUFFER_BASE_H_
#include <stdint.h>
+#include <utility>
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -31,7 +32,7 @@ class DecoderBufferBase : public CastDecoderBuffer,
DecryptContext* decrypt_context() const override;
void set_decrypt_context(scoped_ptr<DecryptContext> context) {
- decrypt_context_ = context.Pass();
+ decrypt_context_ = std::move(context);
}
// Sets the PTS of the frame.

Powered by Google App Engine
This is Rietveld 408576698