| 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
|
|
|