Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
index 5d1617f446c097e9500e65eb4a03d73cf95fc1c2..58878a7f0d33c7d607be75aca360c7ac5c445585 100644 |
--- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
@@ -6,8 +6,6 @@ |
#include <ostream> |
#include <string> |
-#include "mojo/public/cpp/environment/environment.h" |
-#include "mojo/public/cpp/system/macros.h" |
#include "mojo/public/interfaces/bindings/tests/sample_service.mojom.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -313,16 +311,7 @@ class SimpleMessageReceiver : public mojo::MessageReceiverWithResponder { |
} |
}; |
-class BindingsSampleTest : public testing::Test { |
- public: |
- BindingsSampleTest() {} |
- ~BindingsSampleTest() override {} |
- |
- private: |
- mojo::Environment env_; |
- |
- MOJO_DISALLOW_COPY_AND_ASSIGN(BindingsSampleTest); |
-}; |
+using BindingsSampleTest = testing::Test; |
TEST_F(BindingsSampleTest, Basic) { |
SimpleMessageReceiver receiver; |