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

Unified Diff: ash/system/tray/system_tray.cc

Issue 10857009: Makes SystemTray explicitly remove an AnimationObserver. Without this (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 9aff175196ff815fb122235aae6f5982a10c65c6..2b7dc1e5d1e1cb6bf02f8035cbd3bc30c8af1245 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -113,6 +113,8 @@ SystemTray::~SystemTray() {
++it) {
(*it)->DestroyTrayView();
}
+ GetWidget()->GetNativeView()->layer()->GetAnimator()->RemoveObserver(
+ layer_animation_observer_.get());
}
void SystemTray::Initialize() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698