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

Unified Diff: mojo/message_pump/handle_watcher.cc

Issue 1434563004: Enable multiprocess by default on desktop mojo_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | mojo/runner/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/message_pump/handle_watcher.cc
diff --git a/mojo/message_pump/handle_watcher.cc b/mojo/message_pump/handle_watcher.cc
index 964f1e2d3348d80b1edef376538ce2eac0862639..ef3d594b3f4deb15d86deda14108b5518282f7b6 100644
--- a/mojo/message_pump/handle_watcher.cc
+++ b/mojo/message_pump/handle_watcher.cc
@@ -222,7 +222,9 @@ WatcherThreadManager::~WatcherThreadManager() {
}
WatcherThreadManager* WatcherThreadManager::GetInstance() {
- return base::Singleton<WatcherThreadManager>::get();
+ return base::Singleton<WatcherThreadManager,
+ base::LeakySingletonTraits<WatcherThreadManager>>::
jam 2015/11/07 05:00:31 we need to leak this because otherwise when the pr
sky 2015/11/08 16:26:36 Please add this comment to the code here.
jam 2015/11/09 18:20:58 Done.
+ get();
}
WatcherID WatcherThreadManager::StartWatching(
« no previous file with comments | « no previous file | mojo/runner/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698