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

Unified Diff: media/base/audio_shifter_unittest.cc

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/audio_shifter.cc ('k') | media/base/audio_splicer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_shifter_unittest.cc
diff --git a/media/base/audio_shifter_unittest.cc b/media/base/audio_shifter_unittest.cc
index f424033e1d30336593fb24e8568c2bd18e8aaf8b..15447042e5a28f0d53669a2a9a0dbb4f98b7c995 100644
--- a/media/base/audio_shifter_unittest.cc
+++ b/media/base/audio_shifter_unittest.cc
@@ -52,7 +52,7 @@ class AudioShifterTest :
tag_input_ = false;
expect_smooth_output_ = false;
}
- return input.Pass();
+ return input;
}
void SetupOutput(int size, base::TimeDelta rate) {
@@ -165,7 +165,7 @@ TEST_P(AudioShifterTest, TestSync) {
TEST_P(AudioShifterTest, TestSyncWithPush) {
// Push some extra audio.
- shifter_.Push(CreateTestInput().Pass(), now_ - base::TimeDelta(input_rate_));
+ shifter_.Push(CreateTestInput(), now_ - base::TimeDelta(input_rate_));
RunAndCheckSync(1000);
EXPECT_LE(skip_outputs_.size(), 2UL);
}
« no previous file with comments | « media/base/audio_shifter.cc ('k') | media/base/audio_splicer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698