Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / ash / test / test_user_wallpaper_delegate.cc
index 24ab287..050f635 100644 (file)
@@ -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()->SetWallpaperImage(
         custom_wallpaper_, WALLPAPER_LAYOUT_STRETCH);
   }
   update_wallpaper_count_++;