Chromium Code Reviews| Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h |
| diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h |
| index d3007c6c4b2bedf325f07f07aeb14e13206a9931..db25a073fa46b17e03811a21cc5f88a580856eb4 100644 |
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h |
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h |
| @@ -14,6 +14,7 @@ |
| #include "ash/display/window_tree_host_manager.h" |
| #include "base/compiler_specific.h" |
| #include "base/macros.h" |
| +#include "base/memory/weak_ptr.h" |
| #include "build/build_config.h" |
| #include "chrome/browser/ui/app_icon_loader.h" |
| #include "chrome/browser/ui/app_list/app_list_syncable_service.h" |
| @@ -357,6 +358,8 @@ class ChromeLauncherControllerImpl |
| typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; |
| RunningAppListIdMap last_used_running_application_order_; |
| + base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_; |
|
khmel
2016/08/25 22:06:08
To fix crashes in unit tests and possible crash in
|
| + |
| DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); |
| }; |