Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1810)

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 519030: bsds: views/ and webkit/ support for FreeBSD/OpenBSD (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/test_shell.cc
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 9793381561cba1b4c5c65a682c226c1db3c1a329..1745f378df36120cd96b2d09368859830c158082 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

Powered by Google App Engine
This is Rietveld 408576698