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

Unified Diff: mojo/environment/environment.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: rebased 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/environment/environment.cc
diff --git a/mojo/environment/environment.cc b/mojo/environment/environment.cc
index 8867dd088342fc05e6af2788dd129edaefc5e306..cf686958ce5250395283c8d92c14b08591783f52 100644
--- a/mojo/environment/environment.cc
+++ b/mojo/environment/environment.cc
@@ -10,20 +10,6 @@
namespace mojo {
-// These methods are intentionally not implemented so that there is a link
-// error if someone uses them in a Chromium-environment.
-#if 0
-Environment::Environment() {
-}
-
-Environment::Environment(const MojoAsyncWaiter* default_async_waiter,
- const MojoLogger* default_logger) {
-}
-
-Environment::~Environment() {
-}
-#endif
-
// static
const MojoAsyncWaiter* Environment::GetDefaultAsyncWaiter() {
return &internal::kDefaultAsyncWaiter;
« no previous file with comments | « no previous file | mojo/public/cpp/application/lib/application_runner.cc » ('j') | mojo/public/cpp/environment/environment.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698