Index: ash/wm/gestures/system_pinch_handler.h |
diff --git a/ash/wm/gestures/system_pinch_handler.h b/ash/wm/gestures/system_pinch_handler.h |
index d5c5a0eade9cf01d8aadb6a382e7982ea750877c..1225c90388b21144a238059b08572fa393170fb1 100644 |
--- a/ash/wm/gestures/system_pinch_handler.h |
+++ b/ash/wm/gestures/system_pinch_handler.h |
@@ -6,6 +6,7 @@ |
#define ASH_WM_GESTURES_SYSTEM_PINCH_HANDLER_H_ |
#include "ash/wm/workspace/phantom_window_controller.h" |
+#include "base/memory/scoped_ptr.h" |
namespace aura { |
class Window; |
@@ -64,7 +65,7 @@ class SystemPinchHandler { |
// A phantom window is used to provide visual cues for |
// pinch-to-resize/maximize/minimize gestures. |
- PhantomWindowController phantom_; |
+ scoped_ptr<PhantomWindowController> phantom_; |
// When the phantom window is in minimized or maximized state, moving the |
// target window should not move the phantom window. So |phantom_state_| is |