diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-15 05:17:38 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-15 05:17:38 +0000 |
commit | 03c89dcdc8a9f1401108acb4d227ec4f6b59a3f3 (patch) | |
tree | a589e94ebc1648a2317e6e81ea4bae01bd910a60 | |
parent | 4730f622a748191d59b8d6b1ddbff16a31e87a13 (diff) | |
download | chromium_src-03c89dcdc8a9f1401108acb4d227ec4f6b59a3f3.zip chromium_src-03c89dcdc8a9f1401108acb4d227ec4f6b59a3f3.tar.gz chromium_src-03c89dcdc8a9f1401108acb4d227ec4f6b59a3f3.tar.bz2 |
Fix wide/ASCII conversion for CrOS testing.
I broke this when removing WideToASCII.
TBR=sky
Review URL: https://codereview.chromium.org/197283023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257289 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/test/pyautolib/pyautolib.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/pyautolib/pyautolib.cc b/chrome/test/pyautolib/pyautolib.cc index 52bf726..ae12e2f 100644 --- a/chrome/test/pyautolib/pyautolib.cc +++ b/chrome/test/pyautolib/pyautolib.cc @@ -46,7 +46,7 @@ bool PyUITestSuiteBase::IsBrowserTestSuite() { return true; } PyUITestBase::PyUITestBase(bool clear_profile, std::wstring homepage) : UITestBase() { set_clear_profile(clear_profile); - set_homepage(base::UTF16ToASCII(homepage)); + set_homepage(base::WideToUTF8(homepage)); // We add this so that pyauto can execute javascript in the renderer and // read values back. dom_automation_enabled_ = true; |