| Index: chrome/browser/ui/webui/options/chromeos/wallpaper_source.cc
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/wallpaper_source.cc b/chrome/browser/ui/webui/options/chromeos/wallpaper_source.cc
|
| index aa0cdf2ec8757773dfcb45459b640ee7433f18d1..fd8250b3356c76476558512696d25d1f0a50a80f 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/wallpaper_source.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/wallpaper_source.cc
|
| @@ -133,7 +133,7 @@ void WallpaperImageSource::GetCurrentUserWallpaper(int request_id) {
|
| SkBitmap wallpaper;
|
| gfx::ImageSkia wallpaper_skia = ash::Shell::GetInstance()->
|
| desktop_background_controller()->GetCurrentWallpaperImage();
|
| - if (!wallpaper_skia.empty())
|
| + if (!wallpaper_skia.isNull())
|
| wallpaper = *wallpaper_skia.bitmap();
|
| SkBitmap copy;
|
| if (wallpaper.deepCopyTo(©, wallpaper.config()))
|
|
|