diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-31 01:03:52 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-31 01:03:52 +0000 |
commit | 10a6e77b356565b7c8d18812747b261f0605aae4 (patch) | |
tree | 669258341cb2099c6be4d7d5909bcebb0307dcc4 /webkit/tools/test_shell/test_shell.cc | |
parent | b7b412a5ee120091770e9c8bd10b5cb17a8a9aa4 (diff) | |
download | chromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.zip chromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.tar.gz chromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.tar.bz2 |
bsds: views/ and webkit/ support for FreeBSD/OpenBSD
- add a TOOLKIT_USES_GTK #define to catch GTK and Views+GTK
- lots of ifdef twiddling
Review URL: http://codereview.chromium.org/519030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.cc')
-rw-r--r-- | webkit/tools/test_shell/test_shell.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index 9793381..1745f37 100644 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -300,10 +300,10 @@ std::string TestShell::DumpImage(skia::PlatformCanvas* canvas, #if defined(OS_WIN) bool discard_transparency = true; device.makeOpaque(0, 0, src_bmp.width(), src_bmp.height()); -#elif defined(OS_LINUX) - bool discard_transparency = true; #elif defined(OS_MACOSX) bool discard_transparency = false; +#elif defined(OS_POSIX) + bool discard_transparency = true; #endif // Compute MD5 sum. We should have done this before calling |