summaryrefslogtreecommitdiffstats
path: root/chrome/browser/crash_recovery_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/crash_recovery_uitest.cc')
-rw-r--r--chrome/browser/crash_recovery_uitest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/crash_recovery_uitest.cc b/chrome/browser/crash_recovery_uitest.cc
index 2ee7a98..bbd577a 100644
--- a/chrome/browser/crash_recovery_uitest.cc
+++ b/chrome/browser/crash_recovery_uitest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/file_path.h"
#include "base/file_util.h"
#include "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
@@ -50,8 +51,8 @@ TEST_F(CrashRecoveryUITest, LoadInNewTab) {
return;
// The title of the active tab should change each time this URL is loaded.
- std::wstring test_file = test_data_directory_;
- file_util::AppendToPath(&test_file, L"title2.html");
+ FilePath test_file(FilePath::FromWStringHack(test_data_directory_));
+ test_file = test_file.AppendASCII("title2.html");
GURL url(net::FilePathToFileURL(test_file));
NavigateToURL(url);