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

Unified Diff: ash/test/test_user_wallpaper_delegate.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/test/test_user_wallpaper_delegate.cc
diff --git a/ash/test/test_user_wallpaper_delegate.cc b/ash/test/test_user_wallpaper_delegate.cc
index cbf1e9ae71fccf7b79aabaca18242c3cf8ee3056..24ab287e5636d4830182646399ffcf690c491229 100644
--- a/ash/test/test_user_wallpaper_delegate.cc
+++ b/ash/test/test_user_wallpaper_delegate.cc
@@ -15,8 +15,8 @@ TestUserWallpaperDelegate::TestUserWallpaperDelegate()
TestUserWallpaperDelegate::~TestUserWallpaperDelegate() {}
-void TestUserWallpaperDelegate::UpdateWallpaper() {
- DefaultUserWallpaperDelegate::UpdateWallpaper();
+void TestUserWallpaperDelegate::UpdateWallpaper(bool clear_cache) {
+ DefaultUserWallpaperDelegate::UpdateWallpaper(clear_cache);
if (!custom_wallpaper_.isNull()) {
Shell::GetInstance()->desktop_background_controller()->SetCustomWallpaper(
custom_wallpaper_, WALLPAPER_LAYOUT_STRETCH);

Powered by Google App Engine
This is Rietveld 408576698