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

Unified Diff: chrome/browser/importer/importer.cc

Issue 12842: Move convolver, image_operations, and skia_utils from base/gfx to skia/ext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | « chrome/browser/fav_icon_helper.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer.cc
===================================================================
--- chrome/browser/importer/importer.cc (revision 6142)
+++ chrome/browser/importer/importer.cc (working copy)
@@ -8,7 +8,6 @@
#include <set>
#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 @@
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));
}
« no previous file with comments | « chrome/browser/fav_icon_helper.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698