summaryrefslogtreecommitdiffstats
path: root/chrome/browser/fav_icon_helper.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 15:01:10 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-10 15:01:10 +0000
commit53c8fdf0f2abd695a66237d901a8d74eb45bb6d0 (patch)
treec3d96f89afce15dc055b0c2b3b9f32aadc2d9e8a /chrome/browser/fav_icon_helper.cc
parent6addd9e9debd24130c31cdfab55c84bca9bfdc72 (diff)
downloadchromium_src-53c8fdf0f2abd695a66237d901a8d74eb45bb6d0.zip
chromium_src-53c8fdf0f2abd695a66237d901a8d74eb45bb6d0.tar.gz
chromium_src-53c8fdf0f2abd695a66237d901a8d74eb45bb6d0.tar.bz2
Remove base dependency from image_operations and associated unittests. I also renamed the namespace from "gfx" to "skia".
This also adds back the image_operations_unittest to a project (this had gotten lost in my move). Review URL: http://codereview.chromium.org/13143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6706 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/fav_icon_helper.cc')
-rw-r--r--chrome/browser/fav_icon_helper.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/fav_icon_helper.cc b/chrome/browser/fav_icon_helper.cc
index a2c23e4..b7258a5 100644
--- a/chrome/browser/fav_icon_helper.cc
+++ b/chrome/browser/fav_icon_helper.cc
@@ -257,9 +257,9 @@ SkBitmap FavIconHelper::ConvertToFavIconSize(const SkBitmap& image) {
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;
}