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

Unified Diff: chrome/browser/chromeos/login/wallpaper_manager.cc

Issue 10982035: Reland - cros: Add CHECK for screen unlock problem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: check only ~ScreenLocker Created 8 years, 3 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/screen_locker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/wallpaper_manager.cc
diff --git a/chrome/browser/chromeos/login/wallpaper_manager.cc b/chrome/browser/chromeos/login/wallpaper_manager.cc
index a6b41b22ad28273444f49bef2072d496fbc4ed09..f5ef02bd97aeb01550f5f3f5a7d89413e621b775 100644
--- a/chrome/browser/chromeos/login/wallpaper_manager.cc
+++ b/chrome/browser/chromeos/login/wallpaper_manager.cc
@@ -270,8 +270,12 @@ void WallpaperManager::InitializeWallpaper() {
WizardController::SetZeroDelays();
// Zero delays is also set in autotests.
- if (WizardController::IsZeroDelayEnabled())
+ if (WizardController::IsZeroDelayEnabled()) {
+ // Ensure tests have some sort of wallpaper.
+ ash::Shell::GetInstance()->desktop_background_controller()->
+ CreateEmptyWallpaper();
return;
+ }
bool disable_new_oobe = CommandLine::ForCurrentProcess()->
HasSwitch(switches::kDisableNewOobe);
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698