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

Unified Diff: ash/shell.cc

Issue 10545142: Remove root_window_ member from DesktopBackgroundController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
« no previous file with comments | « ash/desktop_background/desktop_background_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 565c1697a0451e70346a2cd3a22f5a32998ef0aa..630629809a45113ba27e2822c5010c67ec674378 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -558,8 +558,7 @@ void Shell::Init() {
status_area_widget_->Show();
// This controller needs to be set before SetupManagedWindowMode.
- desktop_background_controller_.reset(
- new DesktopBackgroundController(root_window));
+ desktop_background_controller_.reset(new DesktopBackgroundController());
if (delegate_.get())
user_wallpaper_delegate_.reset(delegate_->CreateUserWallpaperDelegate());
if (!user_wallpaper_delegate_.get())
« no previous file with comments | « ash/desktop_background/desktop_background_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698