Index: base/sys_info_unittest.cc |
diff --git a/base/sys_info_unittest.cc b/base/sys_info_unittest.cc |
index 8c5391f7a43cca946ad764944a188a8084f32596..160abd6269a077c5558de72512bb0af3faa52d51 100644 |
--- a/base/sys_info_unittest.cc |
+++ b/base/sys_info_unittest.cc |
@@ -22,9 +22,10 @@ TEST_F(SysInfoTest, AmountOfMem) { |
TEST_F(SysInfoTest, AmountOfFreeDiskSpace) { |
// We aren't actually testing that it's correct, just that it's sane. |
- std::wstring tmp_path; |
+ FilePath tmp_path; |
ASSERT_TRUE(file_util::GetTempDir(&tmp_path)); |
- EXPECT_GT(base::SysInfo::AmountOfFreeDiskSpace(tmp_path), 0) << tmp_path; |
+ EXPECT_GT(base::SysInfo::AmountOfFreeDiskSpace(tmp_path.ToWStringHack()), 0) |
+ << tmp_path.value(); |
} |
TEST_F(SysInfoTest, GetEnvVar) { |