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

Unified Diff: ash/system/chromeos/rotation/tray_rotation_lock.cc

Issue 2773013003: Remember User locked rotation (Closed)
Patch Set: . Created 3 years, 9 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
Index: ash/system/chromeos/rotation/tray_rotation_lock.cc
diff --git a/ash/system/chromeos/rotation/tray_rotation_lock.cc b/ash/system/chromeos/rotation/tray_rotation_lock.cc
index 9b1ba257c53890b5c555baadcab43412c21fce5b..b930895fdf6a7de1da52a8b04a4da3986d1f7911 100644
--- a/ash/system/chromeos/rotation/tray_rotation_lock.cc
+++ b/ash/system/chromeos/rotation/tray_rotation_lock.cc
@@ -164,6 +164,7 @@ TrayRotationLock::TrayRotationLock(SystemTray* system_tray)
}
TrayRotationLock::~TrayRotationLock() {
+ StopObservingRotation();
jonross 2017/03/24 16:46:49 Are we sending state change notifications during s
oshima 2017/03/24 17:19:35 This was for the test which wasn't following the n
jonross 2017/03/24 17:32:21 Acknowledged.
Shell::GetInstance()->RemoveShellObserver(this);
}

Powered by Google App Engine
This is Rietveld 408576698