diff options
author | dsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 22:42:33 +0000 |
---|---|---|
committer | dsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 22:42:33 +0000 |
commit | 89062d330ccdcf875842ae679d59a9fcd8d14b65 (patch) | |
tree | 34ba778efaf6d81255abf939d94817596fd66b50 /base/message_pump_glib.h | |
parent | cac407bd57b7f7b3f9d85e1951a07d68f8400d0a (diff) | |
download | chromium_src-89062d330ccdcf875842ae679d59a9fcd8d14b65.zip chromium_src-89062d330ccdcf875842ae679d59a9fcd8d14b65.tar.gz chromium_src-89062d330ccdcf875842ae679d59a9fcd8d14b65.tar.bz2 |
Review URL: http://codereview.chromium.org/8220
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_glib.h')
-rw-r--r-- | base/message_pump_glib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/message_pump_glib.h b/base/message_pump_glib.h index 97daa8a..01cd4b6 100644 --- a/base/message_pump_glib.h +++ b/base/message_pump_glib.h @@ -8,6 +8,7 @@ #include <glib.h> #include "base/message_pump.h" +#include "base/scoped_ptr.h" #include "base/time.h" namespace base { @@ -91,6 +92,8 @@ class MessagePumpForUI : public MessagePump { // The work source. It is shared by all calls to Run and destroyed when // the message pump is destroyed. GSource* work_source_; + // The GLib poll structure needs to be owned and freed by us. + scoped_ptr<GPollFD> work_source_poll_fd_; DISALLOW_COPY_AND_ASSIGN(MessagePumpForUI); }; |