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

Unified Diff: chrome/browser/fav_icon_helper.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/download/download_util.cc ('k') | 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 6142)
+++ chrome/browser/fav_icon_helper.cc (working copy)
@@ -4,7 +4,6 @@
#include "chrome/browser/fav_icon_helper.h"
-#include "base/gfx/image_operations.h"
#include "base/gfx/png_decoder.h"
#include "base/gfx/png_encoder.h"
#include "chrome/browser/navigation_entry.h"
@@ -13,6 +12,7 @@
#include "chrome/browser/render_view_host.h"
#include "chrome/browser/web_contents.h"
#include "chrome/common/gfx/favicon_size.h"
+#include "skia/ext/image_operations.h"
FavIconHelper::FavIconHelper(WebContents* web_contents)
: web_contents_(web_contents),
@@ -257,8 +257,8 @@
int height = image.height();
if (width > 0 && height > 0) {
calc_favicon_target_size(&width, &height);
- return gfx::ImageOperations::Resize(
- image, gfx::ImageOperations::RESIZE_LANCZOS3,
+ return skia::ImageOperations::Resize(
+ image, skia::ImageOperations::RESIZE_LANCZOS3,
gfx::Size(width, height));
}
return image;
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698