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

Unified Diff: ash/shell.cc

Issue 10459003: Load user custom wallpaper after browser crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nikita's review Created 8 years, 7 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/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 1655c7929ec54df86e812f1884c0282bbfebb731..6da93f850f3dff5c479ccdd90b19e89b6bea6927 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -233,8 +233,7 @@ class DummyUserWallpaperDelegate : public UserWallpaperDelegate {
virtual ~DummyUserWallpaperDelegate() {}
- virtual const int GetUserWallpaperIndex() OVERRIDE {
- return -1;
+ virtual void SetLoggedInUserWallpaper() OVERRIDE {
}
virtual void OpenSetWallpaperPage() OVERRIDE {
@@ -747,7 +746,7 @@ void Shell::Init() {
// It needs to be created after OnWindowResized has been called, otherwise the
// widget will not paint when restoring after a browser crash.
- desktop_background_controller_->SetLoggedInUserWallpaper();
+ user_wallpaper_delegate_->SetLoggedInUserWallpaper();
window_modality_controller_.reset(new internal::WindowModalityController);
AddRootWindowEventFilter(window_modality_controller_.get());

Powered by Google App Engine
This is Rietveld 408576698