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

Unified Diff: ash/system/chromeos/session/logout_button_tray.cc

Issue 2091933002: mash: Convert TrayBackgroundView to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak Created 4 years, 6 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/session/logout_button_tray.cc
diff --git a/ash/system/chromeos/session/logout_button_tray.cc b/ash/system/chromeos/session/logout_button_tray.cc
index f4ee34397dd07bf0a6c2ff830cf7a44b177a4f3a..4bb33a1249ad2b91bf98bdd3ac6ab56fd5f4a07d 100644
--- a/ash/system/chromeos/session/logout_button_tray.cc
+++ b/ash/system/chromeos/session/logout_button_tray.cc
@@ -95,7 +95,7 @@ LogoutButton::~LogoutButton() {
}
LogoutButtonTray::LogoutButtonTray(StatusAreaWidget* status_area_widget)
- : TrayBackgroundView(status_area_widget),
+ : TrayBackgroundView(status_area_widget->wm_shelf()),
button_(NULL),
login_status_(LoginStatus::NOT_LOGGED_IN),
show_logout_button_in_tray_(false) {

Powered by Google App Engine
This is Rietveld 408576698