Index: chrome/browser/ui/ash/chrome_shell_delegate_views.cc |
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate_views.cc b/chrome/browser/ui/ash/chrome_shell_delegate_views.cc |
index 3522aa50d4b7e70bcd549103f2ff70e03c5e75f7..3061692e461afabdd59e3b283688fdf14f39ce24 100644 |
--- a/chrome/browser/ui/ash/chrome_shell_delegate_views.cc |
+++ b/chrome/browser/ui/ash/chrome_shell_delegate_views.cc |
@@ -22,6 +22,7 @@ |
#include "chrome/browser/sync/sync_error_notifier_factory_ash.h" |
#include "chrome/browser/ui/ash/chrome_new_window_delegate.h" |
#include "chrome/browser/ui/ash/session_state_delegate_views.h" |
+#include "chrome/browser/ui/ash/solid_color_user_wallpaper_delegate.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/browser_list.h" |
@@ -35,7 +36,6 @@ |
#if defined(OS_WIN) |
#include "chrome/browser/ui/ash/system_tray_delegate_win.h" |
-#include "chrome/browser/ui/ash/user_wallpaper_delegate_win.h" |
#endif |
namespace { |
@@ -149,7 +149,7 @@ class EmptyAccessibilityDelegate : public ash::AccessibilityDelegate { |
return ash::A11Y_ALERT_NONE; |
} |
- base::TimeDelta PlayShutdownSound() const OVERRIDE { |
+ virtual base::TimeDelta PlayShutdownSound() const OVERRIDE { |
return base::TimeDelta(); |
} |
@@ -194,11 +194,7 @@ ash::AccessibilityDelegate* ChromeShellDelegate::CreateAccessibilityDelegate() { |
} |
ash::UserWallpaperDelegate* ChromeShellDelegate::CreateUserWallpaperDelegate() { |
-#if defined(OS_WIN) |
- return ::CreateUserWallpaperDelegate(); |
-#else |
- return NULL; |
-#endif |
+ return CreateSolidColorUserWallpaperDelegate(); |
} |
void ChromeShellDelegate::Observe(int type, |