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

Unified Diff: ash/desktop_background/desktop_background_view.cc

Issue 2111443002: mash: Migrate SessionStateDelegate access to WmShell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. 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/desktop_background/desktop_background_view.cc
diff --git a/ash/desktop_background/desktop_background_view.cc b/ash/desktop_background/desktop_background_view.cc
index 1b05745655c80117156cb510b2f4d147984e2f6e..a8d7bb1462e817587302b9639c7c8b539bf69068 100644
--- a/ash/desktop_background/desktop_background_view.cc
+++ b/ash/desktop_background/desktop_background_view.cc
@@ -233,7 +233,7 @@ views::Widget* CreateDesktopBackground(aura::Window* root_window,
// 4. From an empty background, guest user logged in.
if (wallpaper_delegate->ShouldShowInitialAnimation() ||
root_window_controller->animating_wallpaper_controller() ||
- Shell::GetInstance()->session_state_delegate()->NumberOfLoggedInUsers()) {
+ WmShell::Get()->GetSessionStateDelegate()->NumberOfLoggedInUsers()) {
::wm::SetWindowVisibilityAnimationTransition(
desktop_widget->GetNativeView(), ::wm::ANIMATE_SHOW);
int duration_override = wallpaper_delegate->GetAnimationDurationOverride();

Powered by Google App Engine
This is Rietveld 408576698