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

Unified Diff: dbus/bus.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 | « components/crash/content/browser/crash_handler_host_linux.cc ('k') | mojo/edk/system/channel_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/bus.cc
diff --git a/dbus/bus.cc b/dbus/bus.cc
index 186c9380d0f2b955707e8b8f7219177620a37182..a86971736f78e8d232fe43c0e9a28cbc4b6dfecf 100644
--- a/dbus/bus.cc
+++ b/dbus/bus.cc
@@ -45,7 +45,7 @@ const char kServiceNameOwnerChangeMatchRule[] =
class Watch : public base::MessagePumpLibevent::Watcher {
public:
explicit Watch(DBusWatch* watch)
- : raw_watch_(watch) {
+ : raw_watch_(watch), file_descriptor_watcher_(FROM_HERE) {
dbus_watch_set_data(raw_watch_, this, NULL);
}
« no previous file with comments | « components/crash/content/browser/crash_handler_host_linux.cc ('k') | mojo/edk/system/channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698