Index: chrome/browser/importer/importer_unittest.cc |
diff --git a/chrome/browser/importer/importer_unittest.cc b/chrome/browser/importer/importer_unittest.cc |
index d47e9e96968097cbf34e7ba9a1dcb69d212c6421..0e1e8a96ba9ee05a844010aa5c570f54725d832c 100644 |
--- a/chrome/browser/importer/importer_unittest.cc |
+++ b/chrome/browser/importer/importer_unittest.cc |
@@ -358,8 +358,7 @@ void WritePStore(IPStore* pstore, const GUID* type, const GUID* subtype) { |
TEST_F(ImporterTest, IEImporter) { |
// Sets up a favorites folder. |
app::win::ScopedCOMInitializer com_init; |
- std::wstring path = test_path_.ToWStringHack(); |
- file_util::AppendToPath(&path, L"Favorites"); |
+ std::wstring path = test_path_.AppendASCII("Favorites").value(); |
CreateDirectory(path.c_str(), NULL); |
CreateDirectory((path + L"\\SubFolder").c_str(), NULL); |
CreateDirectory((path + L"\\Links").c_str(), NULL); |