Index: chrome/test/pyautolib/pyautolib.cc |
diff --git a/chrome/test/pyautolib/pyautolib.cc b/chrome/test/pyautolib/pyautolib.cc |
index 52bf72628918a9aa06f46c1317372c0c17abeec2..ae12e2fd440c2658f3b4cefc74f3a375c0c4d796 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; |