| Index: ash/wm/panels/panel_window_resizer.h
|
| diff --git a/ash/wm/panels/panel_window_resizer.h b/ash/wm/panels/panel_window_resizer.h
|
| index 56a38f54be75906fa828b592723c62183ebaa009..df3d8c4451383d0da79733a2dd93bb37afd6ea80 100644
|
| --- a/ash/wm/panels/panel_window_resizer.h
|
| +++ b/ash/wm/panels/panel_window_resizer.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "ash/wm/window_resizer.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/weak_ptr.h"
|
|
|
| namespace gfx {
|
| class Rect;
|
| @@ -83,9 +84,7 @@ class ASH_EXPORT PanelWindowResizer : public WindowResizer {
|
| // True if the window should attach to the launcher after releasing.
|
| bool should_attach_;
|
|
|
| - // If non-NULL the destructor sets this to true. Used to determine if this has
|
| - // been deleted.
|
| - bool* destroyed_;
|
| + base::WeakPtrFactory<PanelWindowResizer> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PanelWindowResizer);
|
| };
|
|
|