Index: chrome/test/live_sync/live_sync_test.cc |
diff --git a/chrome/test/live_sync/live_sync_test.cc b/chrome/test/live_sync/live_sync_test.cc |
index 87591063d409f5b80c3d1ee68d5cff4c970e5686..3fc71042f03d483fad4daac549bcbd122afb1698 100644 |
--- a/chrome/test/live_sync/live_sync_test.cc |
+++ b/chrome/test/live_sync/live_sync_test.cc |
@@ -80,11 +80,11 @@ const BookmarkNode* LiveSyncTest::GetByUniqueURL(BookmarkModel* m, |
} |
// static |
-Profile* LiveSyncTest::MakeProfile(const std::wstring& name) { |
+Profile* LiveSyncTest::MakeProfile(const FilePath::CharType* name) { |
FilePath path; |
PathService::Get(chrome::DIR_USER_DATA, &path); |
- path.Append(FilePath::FromWStringHack(name)); |
- return ProfileManager::CreateProfile(path); |
+ |
+ return ProfileManager::CreateProfile(path.Append(name)); |
} |
void LiveSyncTest::SetUpInProcessBrowserTestFixture() { |