| Index: components/wallpaper/wallpaper_manager_base.cc
|
| diff --git a/components/wallpaper/wallpaper_manager_base.cc b/components/wallpaper/wallpaper_manager_base.cc
|
| index 98022796fc49d9d06c87fa7c91d4d93d14e8cbc0..f81a395cbc53db5256b2838b8f8e5347a5c11a3f 100644
|
| --- a/components/wallpaper/wallpaper_manager_base.cc
|
| +++ b/components/wallpaper/wallpaper_manager_base.cc
|
| @@ -474,13 +474,7 @@ void WallpaperManagerBase::OnPolicyCleared(const std::string& policy,
|
| GetUserWallpaperInfo(account_id, &info);
|
| info.type = user_manager::User::DEFAULT;
|
| SetUserWallpaperInfo(account_id, info, true /* is_persistent */);
|
| - // If the user's policy is cleared, try to set the device wallpaper first.
|
| - // Note We have to modify the user wallpaper info first. Otherwise, we won't
|
| - // be able to override the current user policy wallpaper. The wallpaper info
|
| - // will be set correctly if the device wallpaper is set successfully.
|
| - if (!SetDeviceWallpaperIfApplicable(account_id)) {
|
| - SetDefaultWallpaperNow(account_id);
|
| - }
|
| + SetDefaultWallpaperNow(account_id);
|
| }
|
|
|
| // static
|
|
|