summaryrefslogtreecommitdiffstats
path: root/skia/ext/image_operations_unittest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 18:37:51 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-02 18:37:51 +0000
commit23f77116cafe9a88819b60c7606453ae0db8f35d (patch)
treeaacf7537fca0c887449f46980b992bf26f107d38 /skia/ext/image_operations_unittest.cc
parentef42e30fbfcd6db1c2a5ed77818db2329b5bd1a8 (diff)
downloadchromium_src-23f77116cafe9a88819b60c7606453ae0db8f35d.zip
chromium_src-23f77116cafe9a88819b60c7606453ae0db8f35d.tar.gz
chromium_src-23f77116cafe9a88819b60c7606453ae0db8f35d.tar.bz2
More POSIX support for Chromium, consisting mostly of broadening ifdefs. This
patch cuts across modules, as there's only a handful necessary for each, with the most in chrome/test/. ALSA is enabled on FreeBSD and Solaris, as libasound has been ported to those two platforms, and I moved resolv.h in host_resolver_proc.cc, because it depends on headers from sys_addrinfo.h on FreeBSD. Patch by ruben (chromium@hybridsource.org) Review URL: http://codereview.chromium.org/6976055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/image_operations_unittest.cc')
-rw-r--r--skia/ext/image_operations_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/ext/image_operations_unittest.cc b/skia/ext/image_operations_unittest.cc
index e8c0e9f..ecb6e23 100644
--- a/skia/ext/image_operations_unittest.cc
+++ b/skia/ext/image_operations_unittest.cc
@@ -506,7 +506,7 @@ TEST(ImageOperations, ResizeShouldAverageColors) {
{ skia::ImageOperations::RESIZE_HAMMING1, "HAMMING1", 0.0f },
{ skia::ImageOperations::RESIZE_LANCZOS2, "LANCZOS2", 0.0f },
{ skia::ImageOperations::RESIZE_LANCZOS3, "LANCZOS3", 0.0f },
-#if defined(OS_LINUX) && !defined(GTV)
+#if defined(OS_POSIX) && !defined(GTV)
// SUBPIXEL has slightly worse performance than the other filters:
// 6.324 Bottom left/right corners
// 5.099 Top left/right corners