summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_main.cc
diff options
context:
space:
mode:
authordpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-15 11:30:19 +0000
committerdpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-15 11:30:19 +0000
commite239e19972f5dc800762d896a1940dda02d2c432 (patch)
treeb9ad2cb22f4cc19d9e97f070502aa6350659e896 /webkit/tools/test_shell/test_shell_main.cc
parent8ade99b3c2b022c5ae38b40369f1b3604f660942 (diff)
downloadchromium_src-e239e19972f5dc800762d896a1940dda02d2c432.zip
chromium_src-e239e19972f5dc800762d896a1940dda02d2c432.tar.gz
chromium_src-e239e19972f5dc800762d896a1940dda02d2c432.tar.bz2
Fix compile on mac from unused variable.
R=TBD BUG=none TEST=none Review URL: http://codereview.chromium.org/201113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index 2df6647b..a976427 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -81,8 +81,10 @@ int main(int argc, char* argv[]) {
bool ux_theme = parsed_command_line.HasSwitch(test_shell::kUxTheme);
bool classic_theme =
parsed_command_line.HasSwitch(test_shell::kClassicTheme);
+#if defined(OS_WIN)
bool generic_theme = (layout_test_mode && !ux_theme && !classic_theme) ||
parsed_command_line.HasSwitch(test_shell::kGenericTheme);
+#endif
bool enable_gp_fault_error_box = false;
enable_gp_fault_error_box =