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

Unified Diff: ash/test/test_user_wallpaper_delegate.cc

Issue 208273005: If customization includes default wallpaper, download and apply it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after-review. 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 24ab287e5636d4830182646399ffcf690c491229..f1d0b9f7f0b37c303e82e43015354df3f7de6cc9 100644
--- a/ash/test/test_user_wallpaper_delegate.cc
+++ b/ash/test/test_user_wallpaper_delegate.cc
@@ -18,7 +18,7 @@ TestUserWallpaperDelegate::~TestUserWallpaperDelegate() {}
void TestUserWallpaperDelegate::UpdateWallpaper(bool clear_cache) {
DefaultUserWallpaperDelegate::UpdateWallpaper(clear_cache);
if (!custom_wallpaper_.isNull()) {
- Shell::GetInstance()->desktop_background_controller()->SetCustomWallpaper(
+ Shell::GetInstance()->desktop_background_controller()->SetWallpaper(
custom_wallpaper_, WALLPAPER_LAYOUT_STRETCH);
}
update_wallpaper_count_++;
« no previous file with comments | « ash/desktop_background/desktop_background_controller_unittest.cc ('k') | chrome/browser/chromeos/customization_document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698