Index: chrome/test/ui/ui_test.cc |
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc |
index 6b43ae0efcb8e2773693156e6fc941975b544a6d..5cd8e2a44bbb59d8c014c953055e43cd2330fd64 100644 |
--- a/chrome/test/ui/ui_test.cc |
+++ b/chrome/test/ui/ui_test.cc |
@@ -774,7 +774,7 @@ GURL UITest::GetTestUrl(const std::wstring& test_directory, |
PathService::Get(chrome::DIR_TEST_DATA, &path); |
file_util::AppendToPath(&path, test_directory); |
file_util::AppendToPath(&path, test_case); |
- return net::FilePathToFileURL(path); |
+ return net::FilePathToFileURL(FilePath::FromWStringHack(path)); |
} |
void UITest::WaitForFinish(const std::string &name, |