summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/ui_test_suite.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui/ui_test_suite.cc')
-rw-r--r--chrome/test/ui/ui_test_suite.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/chrome/test/ui/ui_test_suite.cc b/chrome/test/ui/ui_test_suite.cc
index 657e0ef..7d19a2a 100644
--- a/chrome/test/ui/ui_test_suite.cc
+++ b/chrome/test/ui/ui_test_suite.cc
@@ -81,16 +81,14 @@ void UITestSuite::Initialize() {
}
#endif
- std::wstring js_flags =
- parsed_command_line.GetSwitchValue(switches::kJavaScriptFlags);
- if (!js_flags.empty()) {
+ std::string js_flags =
+ parsed_command_line.GetSwitchValueASCII(switches::kJavaScriptFlags);
+ if (!js_flags.empty())
UITest::set_js_flags(js_flags);
- }
- std::wstring log_level =
- parsed_command_line.GetSwitchValue(switches::kLoggingLevel);
- if (!log_level.empty()) {
+ std::string log_level =
+ parsed_command_line.GetSwitchValueASCII(switches::kLoggingLevel);
+ if (!log_level.empty())
UITest::set_log_level(log_level);
- }
#if defined(OS_WIN)
LoadCrashService();