summaryrefslogtreecommitdiffstats
path: root/chrome/browser/session_history_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/session_history_uitest.cc')
-rw-r--r--chrome/browser/session_history_uitest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/session_history_uitest.cc b/chrome/browser/session_history_uitest.cc
index dc72ef1..251a3ba 100644
--- a/chrome/browser/session_history_uitest.cc
+++ b/chrome/browser/session_history_uitest.cc
@@ -22,11 +22,11 @@ const wchar_t kDocRoot[] = L"chrome/test/data";
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() {