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( |