Index: ash/wm/drag_window_resizer.cc |
diff --git a/ash/wm/drag_window_resizer.cc b/ash/wm/drag_window_resizer.cc |
index 60b763f354398ba8d6be479bea1a3c10337a470c..d0f977551f78c0d7c99e0247683d36bb54067c6e 100644 |
--- a/ash/wm/drag_window_resizer.cc |
+++ b/ash/wm/drag_window_resizer.cc |
@@ -164,7 +164,7 @@ void DragWindowResizer::UpdateDragWindow(const gfx::Rect& bounds, |
static_cast<float>(bounds.width() * bounds.height()); |
if (fraction_in_another_window > 0) { |
- if (!drag_window_controller_.get()) { |
+ if (!drag_window_controller_) { |
drag_window_controller_.reset( |
new DragWindowController(GetTarget())); |
// Always show the drag phantom on the |another_root| window. |