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

Unified Diff: mojo/public/cpp/bindings/tests/union_unittest.cc

Issue 2104363004: Remove remaining calls to deprecated MessageLoop methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR gab Created 4 years, 5 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
Index: mojo/public/cpp/bindings/tests/union_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/union_unittest.cc b/mojo/public/cpp/bindings/tests/union_unittest.cc
index 36a7a366cba9f6a2d340b24d5920344aefc82a8d..938b2a0ec7a4f56eaf874fea8a1ae979fe09f150 100644
--- a/mojo/public/cpp/bindings/tests/union_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/union_unittest.cc
@@ -1210,7 +1210,7 @@ void ExpectInt16(int16_t value, PodUnionPtr out) {
}
TEST(UnionTest, UnionInInterface) {
- base::MessageLoop run_loop;
+ base::MessageLoop message_loop;
UnionInterfaceImpl impl;
UnionInterfacePtr ptr;
Binding<UnionInterface> bindings(&impl, GetProxy(&ptr));
@@ -1219,7 +1219,7 @@ TEST(UnionTest, UnionInInterface) {
pod->set_f_int16(16);
ptr->Echo(std::move(pod), base::Bind(&ExpectInt16, 16));
- run_loop.RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
}
} // namespace test
« no previous file with comments | « mojo/public/cpp/bindings/tests/sync_method_unittest.cc ('k') | mojo/public/cpp/bindings/tests/validation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698