From e239e19972f5dc800762d896a1940dda02d2c432 Mon Sep 17 00:00:00 2001 From: "dpranke@google.com" Date: Tue, 15 Sep 2009 11:30:19 +0000 Subject: 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 --- webkit/tools/test_shell/test_shell_main.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webkit/tools/test_shell/test_shell_main.cc') 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 = -- cgit v1.1