From 53c8fdf0f2abd695a66237d901a8d74eb45bb6d0 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Wed, 10 Dec 2008 15:01:10 +0000 Subject: 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 --- chrome/browser/importer/importer.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/importer') diff --git a/chrome/browser/importer/importer.cc b/chrome/browser/importer/importer.cc index 77711ac..9b83e30 100644 --- a/chrome/browser/importer/importer.cc +++ b/chrome/browser/importer/importer.cc @@ -384,9 +384,9 @@ bool Importer::ReencodeFavicon(const unsigned char* src_data, size_t src_len, int new_width = decoded.width(); int new_height = decoded.height(); calc_favicon_target_size(&new_width, &new_height); - decoded = gfx::ImageOperations::Resize( - decoded, gfx::ImageOperations::RESIZE_LANCZOS3, - gfx::Size(new_width, new_height)); + decoded = skia::ImageOperations::Resize( + decoded, skia::ImageOperations::RESIZE_LANCZOS3, + new_width, new_height); } // Encode our bitmap as a PNG. -- cgit v1.1