Index: chrome/browser/ui/views/accessible_pane_view.h |
diff --git a/chrome/browser/ui/views/accessible_pane_view.h b/chrome/browser/ui/views/accessible_pane_view.h |
index a817c0eed2e24f4d6c48782f4b3b15b9db0d5690..d8d0b2b02668f5e28a1f9e3482fb05d149a89f36 100644 |
--- a/chrome/browser/ui/views/accessible_pane_view.h |
+++ b/chrome/browser/ui/views/accessible_pane_view.h |
@@ -8,7 +8,7 @@ |
#include "base/hash_tables.h" |
#include "base/memory/scoped_ptr.h" |
-#include "base/task.h" |
+#include "base/memory/weak_ptr.h" |
#include "views/focus/focus_manager.h" |
#include "views/view.h" |
@@ -74,7 +74,7 @@ class AccessiblePaneView : public views::View, |
bool pane_has_focus_; |
- ScopedRunnableMethodFactory<AccessiblePaneView> method_factory_; |
+ base::WeakPtrFactory<AccessiblePaneView> method_factory_; |
// Save the focus manager rather than calling GetFocusManager(), |
// so that we can remove focus listeners in the destructor. |