| Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/request_response_unittest.cc
|
| diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/request_response_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/request_response_unittest.cc
|
| index 1e85d4a383dbaff57a05759dcf4f0e34d2b0f0c3..8bfeb5d543da7d0f4f306cb5c8b1c506313a345c 100644
|
| --- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/request_response_unittest.cc
|
| +++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/request_response_unittest.cc
|
| @@ -2,10 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "base/message_loop/message_loop.h"
|
| -#include "mojo/message_pump/message_pump_mojo.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| +#include "mojo/public/cpp/environment/environment.h"
|
| #include "mojo/public/cpp/test_support/test_utils.h"
|
| +#include "mojo/public/cpp/utility/run_loop.h"
|
| #include "mojo/public/interfaces/bindings/tests/sample_import.mojom.h"
|
| #include "mojo/public/interfaces/bindings/tests/sample_interfaces.mojom.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -85,13 +85,13 @@
|
|
|
| class RequestResponseTest : public testing::Test {
|
| public:
|
| - RequestResponseTest() : loop_(common::MessagePumpMojo::Create()) {}
|
| ~RequestResponseTest() override { loop_.RunUntilIdle(); }
|
|
|
| void PumpMessages() { loop_.RunUntilIdle(); }
|
|
|
| private:
|
| - base::MessageLoop loop_;
|
| + Environment env_;
|
| + RunLoop loop_;
|
| };
|
|
|
| TEST_F(RequestResponseTest, EchoString) {
|
|
|