| Index: mojo/public/tests/bindings/remote_ptr_unittest.cc
|
| diff --git a/mojo/public/tests/bindings/remote_ptr_unittest.cc b/mojo/public/tests/bindings/remote_ptr_unittest.cc
|
| index d990bcebb024e660da723880e335ac443f87116c..f4f3b2387a8590dc5674fac43ce1c37689065c03 100644
|
| --- a/mojo/public/tests/bindings/remote_ptr_unittest.cc
|
| +++ b/mojo/public/tests/bindings/remote_ptr_unittest.cc
|
| @@ -3,7 +3,8 @@
|
| // found in the LICENSE file.
|
|
|
| #include "mojo/public/bindings/lib/remote_ptr.h"
|
| -#include "mojo/public/tests/bindings/simple_bindings_support.h"
|
| +#include "mojo/public/environment/environment.h"
|
| +#include "mojo/public/utility/run_loop.h"
|
| #include "mojom/math_calculator.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -89,7 +90,7 @@ class RemotePtrTest : public testing::Test {
|
| }
|
|
|
| void PumpMessages() {
|
| - bindings_support_.Process();
|
| + loop_.RunUntilIdle();
|
| }
|
|
|
| protected:
|
| @@ -97,7 +98,8 @@ class RemotePtrTest : public testing::Test {
|
| ScopedMessagePipeHandle pipe1_;
|
|
|
| private:
|
| - SimpleBindingsSupport bindings_support_;
|
| + Environment env_;
|
| + RunLoop loop_;
|
| };
|
|
|
| TEST_F(RemotePtrTest, EndToEnd) {
|
|
|