summaryrefslogtreecommitdiffstats
path: root/base/sys_info_unittest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-14 00:41:56 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-14 00:41:56 +0000
commit13326bbed15f36965826368a0079742e7ba530ce (patch)
treee2a17b387979295ad867429afb2322861f850ece /base/sys_info_unittest.cc
parent5753f39acbb4e6dfba42634d2fbc203a0a9ccccf (diff)
downloadchromium_src-13326bbed15f36965826368a0079742e7ba530ce.zip
chromium_src-13326bbed15f36965826368a0079742e7ba530ce.tar.gz
chromium_src-13326bbed15f36965826368a0079742e7ba530ce.tar.bz2
Convert SysInfo::AmountOfFreeDiskSpace from wstring to FilePath.
BUG=24672 Review URL: http://codereview.chromium.org/276012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sys_info_unittest.cc')
-rw-r--r--base/sys_info_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/sys_info_unittest.cc b/base/sys_info_unittest.cc
index 160abd6..31f314f 100644
--- a/base/sys_info_unittest.cc
+++ b/base/sys_info_unittest.cc
@@ -24,7 +24,7 @@ TEST_F(SysInfoTest, AmountOfFreeDiskSpace) {
// We aren't actually testing that it's correct, just that it's sane.
FilePath tmp_path;
ASSERT_TRUE(file_util::GetTempDir(&tmp_path));
- EXPECT_GT(base::SysInfo::AmountOfFreeDiskSpace(tmp_path.ToWStringHack()), 0)
+ EXPECT_GT(base::SysInfo::AmountOfFreeDiskSpace(tmp_path), 0)
<< tmp_path.value();
}