Index: ash/wm/maximize_bubble_controller.cc |
diff --git a/ash/wm/maximize_bubble_controller.cc b/ash/wm/maximize_bubble_controller.cc |
index 39135463ffc5577600acca2d0da822355a283d2b..f2e3acb161fd865372668828e59fb26d27e549fe 100644 |
--- a/ash/wm/maximize_bubble_controller.cc |
+++ b/ash/wm/maximize_bubble_controller.cc |
@@ -798,7 +798,7 @@ views::CustomButton* MaximizeBubbleController::GetButtonForUnitTest( |
void MaximizeBubbleController::RequestDestructionThroughOwner() { |
// Tell the parent to destroy us (if this didn't happen yet). |
- if (timer_.get()) { |
+ if (timer_) { |
timer_.reset(NULL); |
// Informs the owner that the menu is gone and requests |this| destruction. |
frame_maximize_button_->DestroyMaximizeMenu(); |