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

Unified Diff: chrome/common/service_process_util_posix.cc

Issue 2695593009: Use the location where FileDescriptorWatcher is created to track the libevent handlers (Closed)
Patch Set: fix mac. Created 3 years, 10 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
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_exo.cc ('k') | chromeos/binder/ipc_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util_posix.cc
diff --git a/chrome/common/service_process_util_posix.cc b/chrome/common/service_process_util_posix.cc
index b372856032fdd04612a9a508cffe91dc193b90c7..451f395adc7fc34e75c8655ba48066e831837fa0 100644
--- a/chrome/common/service_process_util_posix.cc
+++ b/chrome/common/service_process_util_posix.cc
@@ -80,7 +80,8 @@ static void SigTermHandler(int sig, siginfo_t* info, void* uap) {
}
}
-ServiceProcessState::StateData::StateData() : set_action(false) {
+ServiceProcessState::StateData::StateData()
+ : watcher(FROM_HERE), set_action(false) {
memset(sockets, -1, sizeof(sockets));
memset(&old_action, 0, sizeof(old_action));
}
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_exo.cc ('k') | chromeos/binder/ipc_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698