Chromium Code Reviews| Index: base/message_pump_aurax11.h |
| =================================================================== |
| --- base/message_pump_aurax11.h (revision 173177) |
| +++ base/message_pump_aurax11.h (working copy) |
| @@ -77,7 +77,6 @@ |
| private: |
| typedef std::map<unsigned long, MessagePumpDispatcher*> DispatchersMap; |
| - typedef std::vector<MessagePumpDispatcher*> Dispatchers; |
| // Initializes the glib event source for X. |
| void InitXSource(); |
| @@ -106,7 +105,7 @@ |
| scoped_ptr<GPollFD> x_poll_; |
| DispatchersMap dispatchers_; |
| - Dispatchers root_window_dispatchers_; |
| + ObserverList<MessagePumpDispatcher> root_window_dispatchers_; |
|
oshima
2012/12/18 20:38:33
Please add comment why we're using ObserverList fo
|
| unsigned long x_root_window_; |