Commit b8276790 authored by skuhne@chromium.org's avatar skuhne@chromium.org

Fixing drag out of maximize dialog button problem

Clicking on a maximizer dialog button and dragging out of the dialog left the phantom window open

BUG=141438
TEST=Visual


Review URL: https://chromiumcodereview.appspot.com/10836176

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150854 0039d316-1c4b-4281-b951-d872f2087c98
parent f3dc80ce
...@@ -165,7 +165,7 @@ void FrameMaximizeButton::ExecuteSnapAndCloseMenu(SnapType snap_type) { ...@@ -165,7 +165,7 @@ void FrameMaximizeButton::ExecuteSnapAndCloseMenu(SnapType snap_type) {
} }
void FrameMaximizeButton::DestroyMaximizeMenu() { void FrameMaximizeButton::DestroyMaximizeMenu() {
maximizer_.reset(); Cancel(false);
} }
void FrameMaximizeButton::OnWindowBoundsChanged( void FrameMaximizeButton::OnWindowBoundsChanged(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment