Index: ash/desktop_background/desktop_background_controller.cc |
diff --git a/ash/desktop_background/desktop_background_controller.cc b/ash/desktop_background/desktop_background_controller.cc |
index 25b63c390e1046263ac78b7aef0df8cf7eaa8889..9928893264530066a3b15111ee3cd0f8375444db 100644 |
--- a/ash/desktop_background/desktop_background_controller.cc |
+++ b/ash/desktop_background/desktop_background_controller.cc |
@@ -360,7 +360,7 @@ bool DesktopBackgroundController::MoveDesktopToUnlockedContainer() { |
bool DesktopBackgroundController::DefaultWallpaperIsAlreadyLoadingOrLoaded( |
const base::FilePath& image_file, int image_resource_id) const { |
- return (wallpaper_loader_ && |
+ return (wallpaper_loader_.get() && |
wallpaper_loader_->file_path() == image_file && |
wallpaper_loader_->resource_id() == image_resource_id) || |
(current_wallpaper_.get() && |