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

Unified Diff: chrome/browser/ui/ash/user_wallpaper_delegate_win.cc

Issue 190993003: Invalidate all wallpaper cache if display configuration changed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment to be more specific 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
« no previous file with comments | « chrome/browser/chromeos/login/wallpaper_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/user_wallpaper_delegate_win.cc
diff --git a/chrome/browser/ui/ash/user_wallpaper_delegate_win.cc b/chrome/browser/ui/ash/user_wallpaper_delegate_win.cc
index 6a83c600893e14e5ea0c0355c62cf95d48fe6c1b..3f5de63a30a1e752e77058c8d09cbcb466c04b93 100644
--- a/chrome/browser/ui/ash/user_wallpaper_delegate_win.cc
+++ b/chrome/browser/ui/ash/user_wallpaper_delegate_win.cc
@@ -44,7 +44,7 @@ class UserWallpaperDelegate : public ash::UserWallpaperDelegate {
NOTIMPLEMENTED();
}
- virtual void UpdateWallpaper() OVERRIDE {
+ virtual void UpdateWallpaper(bool clear_cache) OVERRIDE {
SkBitmap bitmap;
bitmap.setConfig(SkBitmap::kARGB_8888_Config, 16, 16);
bitmap.allocPixels();
@@ -63,7 +63,7 @@ class UserWallpaperDelegate : public ash::UserWallpaperDelegate {
}
virtual void InitializeWallpaper() OVERRIDE {
- UpdateWallpaper();
+ UpdateWallpaper(false);
}
virtual void OpenSetWallpaperPage() OVERRIDE {
« no previous file with comments | « chrome/browser/chromeos/login/wallpaper_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698