summaryrefslogtreecommitdiffstats
path: root/base/message_pump_libevent.h
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 17:56:25 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 17:56:25 +0000
commit052fd4554b97d509ac2dba629bff9372a49a4e97 (patch)
tree7611171c279d8e342a229c7469de62ea2a941698 /base/message_pump_libevent.h
parent2099006be6b45f5dd976728b2c866666434aeea0 (diff)
downloadchromium_src-052fd4554b97d509ac2dba629bff9372a49a4e97.zip
chromium_src-052fd4554b97d509ac2dba629bff9372a49a4e97.tar.gz
chromium_src-052fd4554b97d509ac2dba629bff9372a49a4e97.tar.bz2
IPC & LibEvent fix
* Allow IPC::Listeners to send a message on OnChannelConnected. * Fix a bug in MessagePumpLibevent::WatchFileDescriptor causing a read-after-free. BUG=22451 Review URL: http://codereview.chromium.org/209061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_libevent.h')
-rw-r--r--base/message_pump_libevent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/message_pump_libevent.h b/base/message_pump_libevent.h
index a2a4e1c..8e2f77c 100644
--- a/base/message_pump_libevent.h
+++ b/base/message_pump_libevent.h
@@ -68,9 +68,9 @@ class MessagePumpLibevent : public MessagePump {
};
// Have the current thread's message loop watch for a a situation in which
- // reading/writing to the FD can be performed without Blocking.
+ // reading/writing to the FD can be performed without blocking.
// Callers must provide a preallocated FileDescriptorWatcher object which
- // can later be used to manage the Lifetime of this event.
+ // can later be used to manage the lifetime of this event.
// If a FileDescriptorWatcher is passed in which is already attached to
// an event, then the effect is cumulative i.e. after the call |controller|
// will watch both the previous event and the new one.