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

Unified Diff: chromeos/binder/ipc_thread.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
Index: chromeos/binder/ipc_thread.cc
diff --git a/chromeos/binder/ipc_thread.cc b/chromeos/binder/ipc_thread.cc
index d67f9aa763bebe71422a3865f2a5f354f625c2ac..6fb9822d737f0eaae547de705c917c0a8f781d65 100644
--- a/chromeos/binder/ipc_thread.cc
+++ b/chromeos/binder/ipc_thread.cc
@@ -11,7 +11,10 @@ namespace binder {
// IpcThreadPoller
IpcThreadPoller::IpcThreadPoller(ThreadType type, Driver* driver)
- : type_(type), driver_(driver), command_broker_(driver) {}
+ : type_(type),
+ driver_(driver),
+ command_broker_(driver),
+ watcher_(FROM_HERE) {}
IpcThreadPoller::~IpcThreadPoller() {
if (!command_broker_.ExitLooper()) {
« no previous file with comments | « chrome/common/service_process_util_posix.cc ('k') | components/crash/content/browser/crash_handler_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698