| Index: chrome/browser/crash_recovery_uitest.cc
|
| diff --git a/chrome/browser/crash_recovery_uitest.cc b/chrome/browser/crash_recovery_uitest.cc
|
| index 2ee7a989ca5b5f521f617275abac974e805d2564..bbd577a2f82b3b91e7afc75ef0629de3954755fc 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);
|
|
|