Index: chrome/browser/download/download_browsertest.cc |
diff --git a/chrome/browser/download/download_browsertest.cc b/chrome/browser/download/download_browsertest.cc |
index 35354a464c33c403654a30083dbb49b9d71bd4c4..9b2f6a77015e8038e4f6e1c157da7411ece6577f 100644 |
--- a/chrome/browser/download/download_browsertest.cc |
+++ b/chrome/browser/download/download_browsertest.cc |
@@ -2724,8 +2724,9 @@ IN_PROC_BROWSER_TEST_F(DownloadTest, DownloadTest_Renaming) { |
ASSERT_TRUE(item); |
ASSERT_TRUE(item->IsComplete()); |
base::FilePath full_path(item->GetFullPath()); |
- EXPECT_EQ(std::string("a_zip_file") + (index == 0 ? std::string(".zip") : |
- StringPrintf(" (%d).zip", index)), |
+ EXPECT_EQ(std::string("a_zip_file") + |
+ (index == 0 ? std::string(".zip") : |
+ base::StringPrintf(" (%d).zip", index)), |
full_path.BaseName().AsUTF8Unsafe()); |
ASSERT_TRUE(file_util::PathExists(full_path)); |
ASSERT_TRUE(VerifyFile(full_path, origin_contents, origin_contents.size())); |