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

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

Issue 203065: Enable the ability to run layout tests on Vista as well as XP. See the note ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months 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_main.cc
===================================================================
--- webkit/tools/test_shell/test_shell_main.cc (revision 26193)
+++ webkit/tools/test_shell/test_shell_main.cc (working copy)
@@ -79,10 +79,10 @@
bool layout_test_mode =
parsed_command_line.HasSwitch(test_shell::kLayoutTests);
bool ux_theme = parsed_command_line.HasSwitch(test_shell::kUxTheme);
- bool generic_theme =
+ bool classic_theme =
+ parsed_command_line.HasSwitch(test_shell::kClassicTheme);
+ bool generic_theme = (layout_test_mode && !ux_theme && !classic_theme) ||
parsed_command_line.HasSwitch(test_shell::kGenericTheme);
- bool classic_theme = (layout_test_mode && !ux_theme && !generic_theme) ||
- parsed_command_line.HasSwitch(test_shell::kClassicTheme);
bool enable_gp_fault_error_box = false;
enable_gp_fault_error_box =

Powered by Google App Engine
This is Rietveld 408576698