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

Unified Diff: ash/desktop_background/desktop_background_controller.cc

Issue 190993003: Invalidate all wallpaper cache if display configuration changed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/desktop_background/desktop_background_controller.cc
diff --git a/ash/desktop_background/desktop_background_controller.cc b/ash/desktop_background/desktop_background_controller.cc
index 1aee949b6ede371f5537e625a9882363ce579ee3..bd0837950072bf872f1eeda974d12b7d179a9ad3 100644
--- a/ash/desktop_background/desktop_background_controller.cc
+++ b/ash/desktop_background/desktop_background_controller.cc
@@ -438,7 +438,7 @@ void DesktopBackgroundController::UpdateWallpaper() {
current_default_wallpaper_path_ = base::FilePath();
current_default_wallpaper_resource_id_ = -1;
ash::Shell::GetInstance()->user_wallpaper_delegate()->
- UpdateWallpaper();
+ UpdateWallpaper(true);
Nikita (slow) 2014/03/11 16:34:50 nit: /* clear cache */
bshe 2014/03/11 22:52:35 Done.
}
// static

Powered by Google App Engine
This is Rietveld 408576698