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

Unified Diff: mojo/system/core_impl.cc

Issue 106173003: Split mojo_system dylib into public and private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win Created 7 years 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
« no previous file with comments | « mojo/system/core_impl.h ('k') | mojo/system/dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/core_impl.cc
diff --git a/mojo/system/core_impl.cc b/mojo/system/core_impl.cc
index 0d7a907c924d24f3ce28ef0d8cb02c06443795d5..304e49e7d8f9e5963c558a8318328d2e606ff591 100644
--- a/mojo/system/core_impl.cc
+++ b/mojo/system/core_impl.cc
@@ -82,12 +82,8 @@ CoreImpl::HandleTableEntry::~HandleTableEntry() {
}
// static
-CoreImpl* CoreImpl::singleton_ = NULL;
-
-// static
void CoreImpl::Init() {
- CHECK(!singleton_);
- singleton_ = new CoreImpl();
+ Core::Init(new CoreImpl());
}
MojoResult CoreImpl::Close(MojoHandle handle) {
« no previous file with comments | « mojo/system/core_impl.h ('k') | mojo/system/dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698