diff options
Diffstat (limited to 'chrome/browser/chromeos/background')
-rw-r--r-- | chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc b/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc index f298132..bd3aba9 100644 --- a/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc +++ b/chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc @@ -45,10 +45,10 @@ class UserWallpaperDelegate : public ash::UserWallpaperDelegate { virtual ~UserWallpaperDelegate() { } - virtual ash::WindowVisibilityAnimationType GetAnimationType() OVERRIDE { + virtual int GetAnimationType() OVERRIDE { return ShouldShowInitialAnimation() ? ash::WINDOW_VISIBILITY_ANIMATION_TYPE_BRIGHTNESS_GRAYSCALE : - ash::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE; + static_cast<int>(views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE); } virtual bool ShouldShowInitialAnimation() OVERRIDE { |