Index: ash/wm/caption_buttons/maximize_bubble_controller.cc |
diff --git a/ash/wm/caption_buttons/maximize_bubble_controller.cc b/ash/wm/caption_buttons/maximize_bubble_controller.cc |
index 413cc0e67682748aea131ccccd430f88eb48c83c..6148e17317b969fb35ea4a043a47da6350dac7c7 100644 |
--- a/ash/wm/caption_buttons/maximize_bubble_controller.cc |
+++ b/ash/wm/caption_buttons/maximize_bubble_controller.cc |
@@ -818,8 +818,10 @@ void MaximizeBubbleController::RequestDestructionThroughOwner() { |
} |
void MaximizeBubbleController::CreateBubble() { |
- if (!bubble_) |
+ if (!bubble_) { |
bubble_ = new Bubble(this, appearance_delay_ms_, snap_type_for_creation_); |
+ frame_maximize_button_->OnMaximizeBubbleShown(bubble_->GetWidget()); |
+ } |
timer_->Stop(); |
} |