diff options
Diffstat (limited to 'webkit/port/platform/graphics/ImageSkia.cpp')
-rw-r--r-- | webkit/port/platform/graphics/ImageSkia.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/port/platform/graphics/ImageSkia.cpp b/webkit/port/platform/graphics/ImageSkia.cpp index 12d5ae9..cfdc739 100644 --- a/webkit/port/platform/graphics/ImageSkia.cpp +++ b/webkit/port/platform/graphics/ImageSkia.cpp @@ -43,7 +43,7 @@ #include "SkiaUtils.h" #include "SkShader.h" -#include "skia/ext/image_operations.h" +#include "base/gfx/image_operations.h" // TODO(brettw) remove this dependency. #include "skia/ext/platform_canvas.h" namespace WebCore { @@ -217,8 +217,8 @@ void drawResampledBitmap(SkCanvas& canvas, destBitmapSubsetSkI.height()); // Resample the needed part of the image. - SkBitmap resampled = skia::ImageOperations::Resize(subset, - skia::ImageOperations::RESIZE_LANCZOS3, + SkBitmap resampled = gfx::ImageOperations::Resize(subset, + gfx::ImageOperations::RESIZE_LANCZOS3, gfx::Size(destRectRounded.width(), destRectRounded.height()), destBitmapSubset); @@ -350,8 +350,8 @@ void Image::drawPattern(GraphicsContext* context, if (resampling == RESAMPLE_AWESOME) { // Do nice resampling. - SkBitmap resampled = skia::ImageOperations::Resize(src_subset, - skia::ImageOperations::RESIZE_LANCZOS3, + SkBitmap resampled = gfx::ImageOperations::Resize(src_subset, + gfx::ImageOperations::RESIZE_LANCZOS3, gfx::Size(static_cast<int>(dest_bitmap_width), static_cast<int>(dest_bitmap_height))); shader = SkShader::CreateBitmapShader( |