| Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/router_unittest.cc
|
| diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/router_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/router_unittest.cc
|
| index c9c9f01813af766a56cf2baa8c7bcce2015b79d3..e6dcb5dc22503835ddc84c79c5d6e09c2e6748b2 100644
|
| --- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/router_unittest.cc
|
| +++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/router_unittest.cc
|
| @@ -5,12 +5,12 @@
|
| #include <stdlib.h>
|
| #include <string.h>
|
|
|
| -#include "base/message_loop/message_loop.h"
|
| -#include "mojo/message_pump/message_pump_mojo.h"
|
| #include "mojo/public/cpp/bindings/lib/message_builder.h"
|
| #include "mojo/public/cpp/bindings/lib/router.h"
|
| #include "mojo/public/cpp/bindings/tests/message_queue.h"
|
| +#include "mojo/public/cpp/environment/environment.h"
|
| #include "mojo/public/cpp/system/macros.h"
|
| +#include "mojo/public/cpp/utility/run_loop.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace mojo {
|
| @@ -125,7 +125,7 @@
|
|
|
| class RouterTest : public testing::Test {
|
| public:
|
| - RouterTest() : loop_(common::MessagePumpMojo::Create()) {}
|
| + RouterTest() {}
|
|
|
| void SetUp() override {
|
| CreateMessagePipe(nullptr, &handle0_, &handle1_);
|
| @@ -140,7 +140,8 @@
|
| ScopedMessagePipeHandle handle1_;
|
|
|
| private:
|
| - base::MessageLoop loop_;
|
| + Environment env_;
|
| + RunLoop loop_;
|
| };
|
|
|
| TEST_F(RouterTest, BasicRequestResponse) {
|
|
|