summaryrefslogtreecommitdiffstats
path: root/skia/ext/image_operations_unittest.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 20:10:48 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 20:10:48 +0000
commit5bfafb06880152214274bb43ee82dd1ea2edfdb2 (patch)
treeec9b49d2ec194ee612e1cd2370c31d05f6752f80 /skia/ext/image_operations_unittest.cc
parent19cbbd980d6c206782f3c4ea7ed9b1a730a91895 (diff)
downloadchromium_src-5bfafb06880152214274bb43ee82dd1ea2edfdb2.zip
chromium_src-5bfafb06880152214274bb43ee82dd1ea2edfdb2.tar.gz
chromium_src-5bfafb06880152214274bb43ee82dd1ea2edfdb2.tar.bz2
Add back convolver_unittest.cc and image_operations_unittest.cc.
Fix a TODO in platform_canvas_unittest.cc. Make vector_canvas_unittest.cc slightly less dependent on base/. Remove Windows 2000 checks. (Same as r8458 with platform_canvas_unittest.cc and SConscript fixed) BUG=5113 Review URL: http://codereview.chromium.org/18511 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/image_operations_unittest.cc')
-rw-r--r--skia/ext/image_operations_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/skia/ext/image_operations_unittest.cc b/skia/ext/image_operations_unittest.cc
index 1a32bfd..27e3fcc 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 = gfx::ImageOperations::Resize(
- src, gfx::ImageOperations::RESIZE_LANCZOS3, gfx::Size(src_w, src_h));
+ SkBitmap results = skia::ImageOperations::Resize(
+ src, skia::ImageOperations::RESIZE_LANCZOS3, src_w, src_h);
ASSERT_EQ(src_w, results.width());
ASSERT_EQ(src_h, results.height());
@@ -145,4 +145,3 @@ TEST(ImageOperations, ResampleToSame) {
}
}
}
-