Index: chrome/test/ui/ui_test.cc |
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc |
index cc538865dc0665d44585d6260c7b6e728fdabe89..4f1819544bf2ea3c1ad2233cf9c5b4901ec763c8 100644 |
--- a/chrome/test/ui/ui_test.cc |
+++ b/chrome/test/ui/ui_test.cc |
@@ -644,10 +644,9 @@ DictionaryValue* UITest::GetLocalState() { |
} |
DictionaryValue* UITest::GetDefaultProfilePreferences() { |
- std::wstring path_wstring; |
- PathService::Get(chrome::DIR_USER_DATA, &path_wstring); |
- file_util::AppendToPath(&path_wstring, chrome::kNotSignedInProfile); |
- FilePath path(FilePath::FromWStringHack(path_wstring)); |
+ FilePath path; |
+ PathService::Get(chrome::DIR_USER_DATA, &path); |
+ path = path.AppendASCII(WideToASCII(chrome::kNotSignedInProfile)); |
tony
2009/10/19 22:46:49
tears :(
|
return LoadDictionaryValueFromPath(path.Append(chrome::kPreferencesFilename)); |
} |