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

Unified Diff: mojo/public/cpp/environment/lib/environment.cc

Issue 294833002: Mojo: more idiomatic C++ bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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/environment/lib/environment.cc
diff --git a/mojo/public/cpp/environment/lib/environment.cc b/mojo/public/cpp/environment/lib/environment.cc
index 07adc06d2b17fc32456e982ec14292f33213b1ae..1a2e19d444961ffb577418cf87b3aba9a53109d1 100644
--- a/mojo/public/cpp/environment/lib/environment.cc
+++ b/mojo/public/cpp/environment/lib/environment.cc
@@ -4,19 +4,16 @@
#include "mojo/public/cpp/environment/environment.h"
-#include "mojo/public/cpp/environment/lib/buffer_tls_setup.h"
#include "mojo/public/cpp/utility/run_loop.h"
namespace mojo {
Environment::Environment() : data_(NULL) {
- internal::SetUpCurrentBuffer();
RunLoop::SetUp();
}
Environment::~Environment() {
RunLoop::TearDown();
- internal::TearDownCurrentBuffer();
}
} // namespace mojo
« no previous file with comments | « mojo/public/cpp/environment/lib/buffer_tls_setup.h ('k') | mojo/public/interfaces/bindings/tests/test_structs.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698