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

Unified Diff: chrome/test/ui/ui_test_suite.h

Issue 28281: Get rid of wstring variants of StringToFoo. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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: chrome/test/ui/ui_test_suite.h
===================================================================
--- chrome/test/ui/ui_test_suite.h (revision 10641)
+++ chrome/test/ui/ui_test_suite.h (working copy)
@@ -42,7 +42,7 @@
std::wstring test_timeout =
parsed_command_line.GetSwitchValue(UITestSuite::kTestTimeout);
if (!test_timeout.empty()) {
- UITest::set_test_timeout_ms(StringToInt(test_timeout));
+ UITest::set_test_timeout_ms(StringToInt(WideToUTF16Hack(test_timeout)));
}
std::wstring js_flags =
parsed_command_line.GetSwitchValue(switches::kJavaScriptFlags);
@@ -69,4 +69,3 @@
};
#endif // CHROME_TEST_UI_UI_TEST_SUITE_H_
-

Powered by Google App Engine
This is Rietveld 408576698