Index: ash/wm/window_cycle_controller.cc |
diff --git a/ash/wm/window_cycle_controller.cc b/ash/wm/window_cycle_controller.cc |
index 86f3cf8ca643f5961097385f217620c2d2654c43..017dcc277e264fb3a52ebd7064042a29d249ed08 100644 |
--- a/ash/wm/window_cycle_controller.cc |
+++ b/ash/wm/window_cycle_controller.cc |
@@ -249,7 +249,7 @@ void WindowCycleController::Step(Direction direction) { |
void WindowCycleController::StopCycling() { |
windows_.reset(); |
// Remove our key event filter. |
- if (event_handler_.get()) { |
+ if (event_handler_) { |
Shell::GetInstance()->RemovePreTargetHandler(event_handler_.get()); |
event_handler_.reset(); |
} |