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

Unified Diff: chrome/test/pyautolib/pyautolib.cc

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « chrome/test/perf/startup_test.cc ('k') | components/autofill/content/browser/wallet/wallet_address.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyautolib.cc
diff --git a/chrome/test/pyautolib/pyautolib.cc b/chrome/test/pyautolib/pyautolib.cc
index fdd48a820e255db27564a3b8442b757b096bc4b6..aa50f92f648a8c00d4d511c2827d0709edf79cd8 100644
--- a/chrome/test/pyautolib/pyautolib.cc
+++ b/chrome/test/pyautolib/pyautolib.cc
@@ -44,7 +44,7 @@ void PyUITestSuiteBase::SetCrSourceRoot(const base::FilePath& path) {
PyUITestBase::PyUITestBase(bool clear_profile, std::wstring homepage)
: UITestBase() {
set_clear_profile(clear_profile);
- set_homepage(WideToASCII(homepage));
+ set_homepage(base::UTF16ToASCII(homepage));
// We add this so that pyauto can execute javascript in the renderer and
// read values back.
dom_automation_enabled_ = true;
« no previous file with comments | « chrome/test/perf/startup_test.cc ('k') | components/autofill/content/browser/wallet/wallet_address.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698