diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 04:07:57 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 04:07:57 +0000 |
commit | b5dead81ae7c9324772755a14153258083c8aacb (patch) | |
tree | 404528b1c9c6012523aa43610996304e10f8b2b0 /ash/wm/system_modal_container_layout_manager.h | |
parent | a11c5b6f8af29722d014f94d86ac0e4559b1f8f4 (diff) | |
download | chromium_src-b5dead81ae7c9324772755a14153258083c8aacb.zip chromium_src-b5dead81ae7c9324772755a14153258083c8aacb.tar.gz chromium_src-b5dead81ae7c9324772755a14153258083c8aacb.tar.bz2 |
Fix two crash and potential leak&crash
* closing window while menu is open
This only fix part of this. There is another place that crashes and i'll address it in separate CL.
* closing window while modal dialog is open
* release resources early and use window::Close in BallonViewImpl
This was causing crash if the widget gets closed earlier than
DelayedClose task is executed.
BUG=114123
TEST=none
Review URL: http://codereview.chromium.org/9348113
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/system_modal_container_layout_manager.h')
-rw-r--r-- | ash/wm/system_modal_container_layout_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/wm/system_modal_container_layout_manager.h b/ash/wm/system_modal_container_layout_manager.h index 3a0a029..f7f3d05 100644 --- a/ash/wm/system_modal_container_layout_manager.h +++ b/ash/wm/system_modal_container_layout_manager.h @@ -54,6 +54,7 @@ class ASH_EXPORT SystemModalContainerLayoutManager virtual void OnWindowPropertyChanged(aura::Window* window, const void* key, intptr_t old) OVERRIDE; + virtual void OnWindowDestroying(aura::Window* window) OVERRIDE; // Overridden from ui::ImplicitAnimationObserver: virtual void OnImplicitAnimationsCompleted() OVERRIDE; |