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

Unified Diff: media/cdm/cdm_adapter_unittest.cc

Issue 2086353002: Remove calls to deprecated MessageLoop methods in media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months 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_unittest.cc ('k') | media/filters/audio_decoder_selector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/cdm_adapter_unittest.cc
diff --git a/media/cdm/cdm_adapter_unittest.cc b/media/cdm/cdm_adapter_unittest.cc
index 48a6dfbfb3ba67de02f30956b4e41e01985566dd..554ba303cd546af5f8be522db18d4673e0b1aa76 100644
--- a/media/cdm/cdm_adapter_unittest.cc
+++ b/media/cdm/cdm_adapter_unittest.cc
@@ -204,7 +204,7 @@ class CdmAdapterTest : public testing::Test {
return promise;
}
- void RunUntilIdle() { message_loop_.RunUntilIdle(); }
+ void RunUntilIdle() { base::RunLoop().RunUntilIdle(); }
std::unique_ptr<CdmFileIO> CreateCdmFileIO(cdm::FileIOClient* client) {
ADD_FAILURE() << "Should never be called";
« no previous file with comments | « media/cdm/aes_decryptor_unittest.cc ('k') | media/filters/audio_decoder_selector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698