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..f914d03b299d6b811e742f201e951a9af9246849 100644 |
--- a/chrome/browser/importer/importer_unittest.cc |
+++ b/chrome/browser/importer/importer_unittest.cc |
@@ -358,8 +358,8 @@ 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"); |
+ FilePath file_path = test_path_.AppendASCII("Favorites"); |
+ std::wstring path = file_path.value(); |
evanm
2011/01/07 22:46:01
Can do it on one line:
std::wstring path = test_pa
tfarina
2011/01/07 22:50:00
Done.
|
CreateDirectory(path.c_str(), NULL); |
CreateDirectory((path + L"\\SubFolder").c_str(), NULL); |
CreateDirectory((path + L"\\Links").c_str(), NULL); |