Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2359)

Unified Diff: ash/wm/resize_shadow_controller.cc

Issue 101013002: Make sure WindowObservers are removed from window before destruction (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cc Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/wm/resize_shadow_controller.cc
diff --git a/ash/wm/resize_shadow_controller.cc b/ash/wm/resize_shadow_controller.cc
index 85778d337a890aa76e04e6c55ce45305b7784aa5..c2356f7112a00c34a66ccd160529a05786dcfca8 100644
--- a/ash/wm/resize_shadow_controller.cc
+++ b/ash/wm/resize_shadow_controller.cc
@@ -51,6 +51,7 @@ void ResizeShadowController::OnWindowBoundsChanged(
void ResizeShadowController::OnWindowDestroyed(aura::Window* window) {
window_shadows_.erase(window);
+ aura::WindowObserver::OnWindowDestroyed(window);
}
ResizeShadow* ResizeShadowController::CreateShadow(aura::Window* window) {

Powered by Google App Engine
This is Rietveld 408576698