Index: content/browser/renderer_host/render_widget_host_impl.h |
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
index e81bc5d33226ef64f8a05145bf8840b26825aec6..9f809db8ff5cd87f6515ac352ab6e1fd64cc9bfd 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -17,6 +17,7 @@ |
#include "base/gtest_prod_util.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
+#include "base/observer_list.h" |
#include "base/process_util.h" |
#include "base/string16.h" |
#include "base/time.h" |
@@ -777,7 +778,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
base::TimeTicks input_event_start_time_; |
// Keyboard event listeners. |
- std::list<KeyboardListener*> keyboard_listeners_; |
+ ObserverList<KeyboardListener> keyboard_listeners_; |
// If true, then we should repaint when restoring even if we have a |
// backingstore. This flag is set to true if we receive a paint message |