Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc |
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc |
index 5306f1f6cc4ab989f4b2f34e430b0605ae5164ab..72b02d413de560a4e404c558ddd95f961199a7db 100644 |
--- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc |
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/equals_unittest.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "mojo/public/cpp/bindings/lib/value_traits.h" |
+#include "mojo/public/cpp/environment/environment.h" |
#include "mojo/public/interfaces/bindings/tests/test_structs.mojom.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -20,9 +21,14 @@ |
return r.Pass(); |
} |
-using EqualsTest = testing::Test; |
+class EqualsTest : public testing::Test { |
+ public: |
+ ~EqualsTest() override {} |
-} // namespace |
+ private: |
+ Environment env_; |
+}; |
+} |
TEST_F(EqualsTest, NullStruct) { |
RectPtr r1; |