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

Unified Diff: chrome/browser/fav_icon_helper.cc

Issue 13726: Move Image operations and convolver to the skia namespace and clean up a few ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 | « no previous file | chrome/browser/importer/importer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/fav_icon_helper.cc
===================================================================
--- chrome/browser/fav_icon_helper.cc (revision 6868)
+++ chrome/browser/fav_icon_helper.cc (working copy)
@@ -257,9 +257,9 @@
int height = image.height();
if (width > 0 && height > 0) {
calc_favicon_target_size(&width, &height);
- return gfx::ImageOperations::Resize(
- image, gfx::ImageOperations::RESIZE_LANCZOS3,
- gfx::Size(width, height));
+ return skia::ImageOperations::Resize(
+ image, skia::ImageOperations::RESIZE_LANCZOS3,
+ width, height);
}
return image;
}
« no previous file with comments | « no previous file | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698