From 004a96a015b5dfcadaad4ea1b192c97c415b75de Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Tue, 2 Dec 2008 22:35:42 +0000 Subject: Move convolver, image_operations, and skia_utils from base/gfx to skia/ext. This changes the namespace in those files from "gfx" to "skia". I split skia_utils into two parts, the Windows specific part is now in a separate file called skia_utils_win. There were several obsolete includes of these headers which I removed. I also removed img_resize_perftest which isn't used and has bitrotted. Review URL: http://codereview.chromium.org/12842 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6248 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 3ce8996..a329cfb 100644 --- a/chrome/browser/importer/importer.cc +++ b/chrome/browser/importer/importer.cc @@ -8,7 +8,6 @@ #include #include "base/file_util.h" -#include "base/gfx/image_operations.h" #include "base/gfx/png_encoder.h" #include "base/string_util.h" #include "chrome/browser/bookmarks/bookmark_model.h" @@ -31,6 +30,7 @@ #include "chrome/common/pref_service.h" #include "chrome/common/win_util.h" #include "chrome/views/window.h" +#include "skia/ext/image_operations.h" #include "webkit/glue/image_decoder.h" #include "generated_resources.h" @@ -384,8 +384,8 @@ 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, + decoded = skia::ImageOperations::Resize( + decoded, skia::ImageOperations::RESIZE_LANCZOS3, gfx::Size(new_width, new_height)); } -- cgit v1.1