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

Unified Diff: webkit/port/platform/graphics/ImageSkia.cpp

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 | « webkit/port/platform/graphics/FontWin.cpp ('k') | webkit/port/platform/graphics/NativeImageSkia.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/platform/graphics/ImageSkia.cpp
===================================================================
--- webkit/port/platform/graphics/ImageSkia.cpp (revision 6142)
+++ webkit/port/platform/graphics/ImageSkia.cpp (working copy)
@@ -43,7 +43,7 @@
#include "SkiaUtils.h"
#include "SkShader.h"
-#include "base/gfx/image_operations.h" // TODO(brettw) remove this dependency.
+#include "skia/ext/image_operations.h"
#include "skia/ext/platform_canvas.h"
namespace WebCore {
@@ -217,8 +217,8 @@
destBitmapSubsetSkI.height());
// Resample the needed part of the image.
- SkBitmap resampled = gfx::ImageOperations::Resize(subset,
- gfx::ImageOperations::RESIZE_LANCZOS3,
+ SkBitmap resampled = skia::ImageOperations::Resize(subset,
+ skia::ImageOperations::RESIZE_LANCZOS3,
gfx::Size(destRectRounded.width(), destRectRounded.height()),
destBitmapSubset);
@@ -350,8 +350,8 @@
if (resampling == RESAMPLE_AWESOME) {
// Do nice resampling.
- SkBitmap resampled = gfx::ImageOperations::Resize(src_subset,
- gfx::ImageOperations::RESIZE_LANCZOS3,
+ SkBitmap resampled = skia::ImageOperations::Resize(src_subset,
+ skia::ImageOperations::RESIZE_LANCZOS3,
gfx::Size(static_cast<int>(dest_bitmap_width),
static_cast<int>(dest_bitmap_height)));
shader = SkShader::CreateBitmapShader(
« no previous file with comments | « webkit/port/platform/graphics/FontWin.cpp ('k') | webkit/port/platform/graphics/NativeImageSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698