Index: chrome/browser/session_history_uitest.cc |
=================================================================== |
--- chrome/browser/session_history_uitest.cc (revision 6271) |
+++ chrome/browser/session_history_uitest.cc (working copy) |
@@ -22,11 +22,11 @@ |
class SessionHistoryTest : public UITest { |
protected: |
SessionHistoryTest() : UITest() { |
- wstring path_prefix = test_data_directory_; |
- file_util::AppendToPath(&path_prefix, L"session_history"); |
- path_prefix += file_util::kPathSeparator; |
+ FilePath path = FilePath::FromWStringHack(test_data_directory_); |
+ path = path.Append(FILE_PATH_LITERAL("session_history")) |
+ .Append(FilePath::StringType(&FilePath::kSeparators[0], 1)); |
- url_prefix_ = UTF8ToWide(net::FilePathToFileURL(path_prefix).spec()); |
+ url_prefix_ = UTF8ToWide(net::FilePathToFileURL(path).spec()); |
} |
virtual void SetUp() { |