| 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 7a430c695a315283260cf44b0f08daaf7387e8db..24407e09a52cb4866aa50910f5bfbd6bb12ce783 100644
|
| --- a/mojo/public/cpp/bindings/tests/union_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/union_unittest.cc
|
| @@ -1249,7 +1249,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));
|
| @@ -1258,7 +1258,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
|
|
|