Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Unified Diff: mojo/public/cpp/bindings/tests/synchronous_connector_unittest.cc

Issue 1997473005: Remove requirement that mojo::Environment be instantiated. (Closed) Base URL: https://github.com/domokit/mojo.git@work797_no_utility_tls
Patch Set: SetDefaultAsyncWaiter Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/tests/synchronous_connector_unittest.cc
diff --git a/mojo/public/cpp/bindings/tests/synchronous_connector_unittest.cc b/mojo/public/cpp/bindings/tests/synchronous_connector_unittest.cc
index 7d0bc638ba1afeec68cdcb9fdbc383f3143b7467..4ef1ca92c6e34365bc8eb85f5203c7c04bf6b9d8 100644
--- a/mojo/public/cpp/bindings/tests/synchronous_connector_unittest.cc
+++ b/mojo/public/cpp/bindings/tests/synchronous_connector_unittest.cc
@@ -46,7 +46,6 @@ TEST(SynchronousConnectorTest, Basic) {
// Writing to a closed pipe should fail.
TEST(SynchronousConnectorTest, WriteToClosedPipe) {
- Environment env;
MessagePipe pipe;
internal::SynchronousConnector connector0(std::move(pipe.handle0));
@@ -59,7 +58,6 @@ TEST(SynchronousConnectorTest, WriteToClosedPipe) {
// Reading from a closed pipe should fail (while waiting on it).
TEST(SynchronousConnectorTest, ReadFromClosedPipe) {
- Environment env;
MessagePipe pipe;
internal::SynchronousConnector connector0(std::move(pipe.handle0));

Powered by Google App Engine
This is Rietveld 408576698