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

Unified Diff: chrome/common/gfx/icon_util.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/common/gfx/color_utils.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gfx/icon_util.cc
===================================================================
--- chrome/common/gfx/icon_util.cc (revision 6142)
+++ chrome/common/gfx/icon_util.cc (working copy)
@@ -3,11 +3,12 @@
// found in the LICENSE file.
#include "chrome/common/gfx/icon_util.h"
+
#include "base/file_util.h"
-#include "base/gfx/image_operations.h"
#include "base/gfx/size.h"
#include "base/logging.h"
#include "chrome/common/win_util.h"
+#include "skia/ext/image_operations.h"
#include "skia/include/SkBitmap.h"
// Defining the dimensions for the icon images. We store only one value because
@@ -403,8 +404,8 @@
inserted_original_bitmap = true;
}
}
- bitmaps->push_back(gfx::ImageOperations::Resize(
- bitmap_to_resize, gfx::ImageOperations::RESIZE_LANCZOS3,
+ bitmaps->push_back(skia::ImageOperations::Resize(
+ bitmap_to_resize, skia::ImageOperations::RESIZE_LANCZOS3,
gfx::Size(icon_dimensions_[i], icon_dimensions_[i])));
}
« no previous file with comments | « chrome/common/gfx/color_utils.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698