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

Unified Diff: mojo/shell/context.cc

Issue 62773003: Mojo: Add BindingsSupportImpl on top of HandleWatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 1 month 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
« mojo/common/bindings_support_impl.cc ('K') | « mojo/shell/context.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/context.cc
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc
index c2e2f9043194b6557de0c385c21a138d86a7b6a5..6a4be90789828ec6b7faa9d7498b988a2b0a34bc 100644
--- a/mojo/shell/context.cc
+++ b/mojo/shell/context.cc
@@ -18,9 +18,11 @@ Context::Context()
scoped_ptr<net::NetworkDelegate>(new NetworkDelegate()),
storage_.profile_path()) {
system::CoreImpl::Init();
+ BindingsSupport::Set(&bindings_support_impl_);
}
Context::~Context() {
+ BindingsSupport::Set(NULL);
}
} // namespace shell
« mojo/common/bindings_support_impl.cc ('K') | « mojo/shell/context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698