summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/graphics/NativeImageSkia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/platform/graphics/NativeImageSkia.cpp')
-rw-r--r--webkit/port/platform/graphics/NativeImageSkia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/platform/graphics/NativeImageSkia.cpp b/webkit/port/platform/graphics/NativeImageSkia.cpp
index fa4ce86..72bbcc4 100644
--- a/webkit/port/platform/graphics/NativeImageSkia.cpp
+++ b/webkit/port/platform/graphics/NativeImageSkia.cpp
@@ -61,8 +61,8 @@ bool NativeImageSkia::hasResizedBitmap(int w, int h) const {
SkBitmap NativeImageSkia::resizedBitmap(int w, int h) const {
if (m_resizedImage.width() != w || m_resizedImage.height() != h) {
- m_resizedImage = skia::ImageOperations::Resize(*this,
- skia::ImageOperations::RESIZE_LANCZOS3, w, h);
+ m_resizedImage = gfx::ImageOperations::Resize(*this,
+ gfx::ImageOperations::RESIZE_LANCZOS3, gfx::Size(w, h));
}
return m_resizedImage;
}