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

Unified Diff: media/cdm/aes_decryptor_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/cdm/aes_decryptor.cc ('k') | media/cdm/cdm_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/aes_decryptor_unittest.cc
diff --git a/media/cdm/aes_decryptor_unittest.cc b/media/cdm/aes_decryptor_unittest.cc
index 90172fd91bc1c142f2f2944791e77959915f3e9d..82338be6a6ab7e59575a5ef88db6e1f2006319d0 100644
--- a/media/cdm/aes_decryptor_unittest.cc
+++ b/media/cdm/aes_decryptor_unittest.cc
@@ -301,7 +301,7 @@ class AesDecryptorTest : public testing::TestWithParam<std::string> {
base::Bind(&AesDecryptorTest::OnReject,
base::Unretained(this),
expected_result)));
- return promise.Pass();
+ return promise;
}
scoped_ptr<NewSessionCdmPromise> CreateSessionPromise(
@@ -314,7 +314,7 @@ class AesDecryptorTest : public testing::TestWithParam<std::string> {
base::Bind(&AesDecryptorTest::OnReject,
base::Unretained(this),
expected_result)));
- return promise.Pass();
+ return promise;
}
// Creates a new session using |key_id|. Returns the session ID.
« no previous file with comments | « media/cdm/aes_decryptor.cc ('k') | media/cdm/cdm_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698