Index: chrome/browser/browser_encoding_uitest.cc |
=================================================================== |
--- chrome/browser/browser_encoding_uitest.cc (revision 27329) |
+++ chrome/browser/browser_encoding_uitest.cc (working copy) |
@@ -150,8 +150,7 @@ |
// We save the page as way of complete HTML file, which requires a directory |
// name to save sub resources in it. Although this test file does not have |
// sub resources, but the directory name is still required. |
- EXPECT_TRUE(tab_proxy->SavePage(full_file_name.ToWStringHack(), |
- temp_sub_resource_dir_.ToWStringHack(), |
+ EXPECT_TRUE(tab_proxy->SavePage(full_file_name, temp_sub_resource_dir_, |
SavePackage::SAVE_AS_COMPLETE_HTML)); |
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); |
ASSERT_TRUE(browser.get()); |
@@ -290,8 +289,7 @@ |
kExpectedResultDir); |
expected_result_file_name = expected_result_file_name.AppendASCII( |
kTestDatas[i].expected_result); |
- EXPECT_TRUE(tab->SavePage(full_saved_file_name.ToWStringHack(), |
- temp_sub_resource_dir_.ToWStringHack(), |
+ EXPECT_TRUE(tab->SavePage(full_saved_file_name, temp_sub_resource_dir_, |
SavePackage::SAVE_AS_COMPLETE_HTML)); |
EXPECT_TRUE(WaitForDownloadShelfVisible(browser.get())); |
CheckFile(full_saved_file_name, expected_result_file_name, true); |