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

Unified Diff: ui/aura/window.h

Issue 101013002: Make sure WindowObservers are removed from window before destruction (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 5527f81218d023dd5bafc9efcf429beca59d9284..ed636f2de8059fdfa285493dea87e5ec7acf2282 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -581,7 +581,7 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
gfx::Insets hit_test_bounds_override_outer_touch_;
gfx::Insets hit_test_bounds_override_inner_;
- ObserverList<WindowObserver> observers_;
+ ObserverList<WindowObserver, true> observers_;
// Value struct to keep the name and deallocator for this property.
// Key cannot be used for this purpose because it can be char* or

Powered by Google App Engine
This is Rietveld 408576698