| Index: chrome/browser/ui/tabs/hover_tab_selector.h
|
| ===================================================================
|
| --- chrome/browser/ui/tabs/hover_tab_selector.h (revision 110185)
|
| +++ chrome/browser/ui/tabs/hover_tab_selector.h (working copy)
|
| @@ -6,7 +6,7 @@
|
| #define CHROME_BROWSER_UI_TABS_HOVER_TAB_SELECTOR_H_
|
| #pragma once
|
|
|
| -#include "base/task.h"
|
| +#include "base/memory/weak_ptr.h"
|
|
|
| class TabStripModel;
|
|
|
| @@ -37,7 +37,7 @@
|
| int tab_transition_tab_index_;
|
|
|
| // Factory for creating tab transition tasks.
|
| - ScopedRunnableMethodFactory<HoverTabSelector> task_factory_;
|
| + base::WeakPtrFactory<HoverTabSelector> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(HoverTabSelector);
|
| };
|
|
|