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

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: Nit 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 4731c74c939b8421cdb0f63305c6dfb268695dc5..1b182c6e68fe383df7b762f0f5d5c7595f45a51c 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -232,8 +232,7 @@ class DummyUserWallpaperDelegate : public UserWallpaperDelegate {
virtual ~DummyUserWallpaperDelegate() {}
- virtual const int GetUserWallpaperIndex() OVERRIDE {
- return -1;
+ virtual void SetLoggedInUserWallpaper() OVERRIDE {
}
virtual void OpenSetWallpaperPage() OVERRIDE {
@@ -742,7 +741,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