summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/save_page_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/save_page_uitest.cc')
-rw-r--r--chrome/browser/download/save_page_uitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/save_page_uitest.cc b/chrome/browser/download/save_page_uitest.cc
index fbed636..8774637 100644
--- a/chrome/browser/download/save_page_uitest.cc
+++ b/chrome/browser/download/save_page_uitest.cc
@@ -68,8 +68,8 @@ TEST_F(SavePageTest, CleanFilenameFromPageTitle) {
download_dir_.AppendASCII(std::string("test.exe") + kAppendedExtension);
FilePath dir = download_dir_.AppendASCII("test.exe_files");
- GURL url = URLRequestMockHTTPJob::GetMockUrl(
- UTF8ToWide(std::string(kTestDir) + "/" + file_name));
+ GURL url = URLRequestMockHTTPJob::GetMockUrl(FilePath(ASCIIToWide(
+ std::string(kTestDir) + "/" + file_name)));
scoped_refptr<TabProxy> tab(GetActiveTab());
ASSERT_TRUE(tab.get());
ASSERT_TRUE(tab->NavigateToURL(url));