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

Unified Diff: ash/desktop_background/desktop_background_controller.cc

Issue 10827368: ash: Avoid implicit conversion from ImageSkia into SkBitmap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « ash/desktop_background/desktop_background_controller.h ('k') | ash/launcher/tabbed_launcher_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 917e0abe795fad5b810ff74aed4ad66844ab424d..6a94e2f98771352b9104975998d63695ed2395e9 100644
--- a/ash/desktop_background/desktop_background_controller.cc
+++ b/ash/desktop_background/desktop_background_controller.cc
@@ -124,9 +124,9 @@ WallpaperLayout DesktopBackgroundController::GetWallpaperLayout() const {
return CENTER_CROPPED;
}
-SkBitmap DesktopBackgroundController::GetCurrentWallpaperImage() {
+gfx::ImageSkia DesktopBackgroundController::GetCurrentWallpaperImage() {
if (desktop_background_mode_ != BACKGROUND_IMAGE)
- return SkBitmap();
+ return gfx::ImageSkia();
return GetWallpaper();
}
« no previous file with comments | « ash/desktop_background/desktop_background_controller.h ('k') | ash/launcher/tabbed_launcher_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698