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

Unified Diff: chrome/renderer/media/cast_rtp_stream.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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: chrome/renderer/media/cast_rtp_stream.cc
diff --git a/chrome/renderer/media/cast_rtp_stream.cc b/chrome/renderer/media/cast_rtp_stream.cc
index ac4c1da737859b00503a37294f6496bc080eb640..755cfd372b4f37402b3c3d41be5551e1667c6c50 100644
--- a/chrome/renderer/media/cast_rtp_stream.cc
+++ b/chrome/renderer/media/cast_rtp_stream.cc
@@ -5,8 +5,8 @@
#include "chrome/renderer/media/cast_rtp_stream.h"
#include <stdint.h>
-
#include <algorithm>
+#include <utility>
#include "base/bind.h"
#include "base/callback_helpers.h"
@@ -437,7 +437,7 @@ class CastAudioSink : public base::SupportsWeakPtr<CastAudioSink>,
sample_frames_in_ += input_params_.frames_per_buffer();
sample_frames_out_ += audio_bus->frames();
- frame_input_->InsertAudio(audio_bus.Pass(),
+ frame_input_->InsertAudio(std::move(audio_bus),
capture_time_of_first_converted_sample);
}

Powered by Google App Engine
This is Rietveld 408576698