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

Unified Diff: mojo/apps/js/main.cc

Issue 134253004: Mojo: AsyncWaiter and mojo/public/environment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing files Created 6 years, 11 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/apps/js/main.cc
diff --git a/mojo/apps/js/main.cc b/mojo/apps/js/main.cc
index 3ecca28aa1598b802353bd08061e6711277c3f87..bfc6e2c7cbc704491acf38a5a5a5e9a19f65df13 100644
--- a/mojo/apps/js/main.cc
+++ b/mojo/apps/js/main.cc
@@ -5,7 +5,6 @@
#include "base/message_loop/message_loop.h"
#include "gin/public/isolate_holder.h"
#include "mojo/apps/js/mojo_runner_delegate.h"
-#include "mojo/common/bindings_support_impl.h"
#include "mojo/public/gles2/gles2.h"
#include "mojo/public/system/core_cpp.h"
#include "mojo/public/system/macros.h"
@@ -38,13 +37,10 @@ void Start(MojoHandle pipe, const std::string& module) {
} // namespace mojo
extern "C" MOJO_APPS_JS_EXPORT MojoResult CDECL MojoMain(MojoHandle pipe) {
- mojo::common::BindingsSupportImpl bindings_support;
- mojo::BindingsSupport::Set(&bindings_support);
MojoGLES2Initialize();
mojo::apps::Start(pipe, "mojo/apps/js/main");
MojoGLES2Terminate();
- mojo::BindingsSupport::Set(NULL);
return MOJO_RESULT_OK;
}

Powered by Google App Engine
This is Rietveld 408576698