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

Unified Diff: chrome/browser/icon_loader_chromeos.cc

Issue 10823358: image: Specify the resize-method when resizing ImageSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deep-copy 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
Index: chrome/browser/icon_loader_chromeos.cc
diff --git a/chrome/browser/icon_loader_chromeos.cc b/chrome/browser/icon_loader_chromeos.cc
index 07f841ae0b8dd7f0ae0e8ff887b4945a0573cc45..e967e4e5bd82d9d2b87fb5ed8eee482b13705d0a 100644
--- a/chrome/browser/icon_loader_chromeos.cc
+++ b/chrome/browser/icon_loader_chromeos.cc
@@ -157,7 +157,7 @@ gfx::ImageSkia ResizeImage(const gfx::ImageSkia& source, int dip_size) {
return source;
return gfx::ImageSkiaOperations::CreateResizedImage(source,
- gfx::Size(dip_size, dip_size));
+ skia::ImageOperations::RESIZE_BEST, gfx::Size(dip_size, dip_size));
}
int IconSizeToDIPSize(IconLoader::IconSize size) {

Powered by Google App Engine
This is Rietveld 408576698