diff options
Diffstat (limited to 'skia/ext/image_operations_unittest.cc')
-rw-r--r-- | skia/ext/image_operations_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/skia/ext/image_operations_unittest.cc b/skia/ext/image_operations_unittest.cc index 27e3fcc..1a32bfd 100644 --- a/skia/ext/image_operations_unittest.cc +++ b/skia/ext/image_operations_unittest.cc @@ -132,8 +132,8 @@ TEST(ImageOperations, ResampleToSame) { // Do a resize of the full bitmap to the same size. The lanczos filter is good // enough that we should get exactly the same image for output. - SkBitmap results = skia::ImageOperations::Resize( - src, skia::ImageOperations::RESIZE_LANCZOS3, src_w, src_h); + SkBitmap results = gfx::ImageOperations::Resize( + src, gfx::ImageOperations::RESIZE_LANCZOS3, gfx::Size(src_w, src_h)); ASSERT_EQ(src_w, results.width()); ASSERT_EQ(src_h, results.height()); @@ -145,3 +145,4 @@ TEST(ImageOperations, ResampleToSame) { } } } + |