summaryrefslogtreecommitdiffstats
path: root/net
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 /net
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 'net')
-rw-r--r--net/disk_cache/backend_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 0ce7214..1dc439a 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -1029,7 +1029,7 @@ void BackendImpl::AdjustMaxCacheSize(int table_len) {
DCHECK(!table_len || data_->header.magic);
// The user is not setting the size, let's figure it out.
- int64 available = base::SysInfo::AmountOfFreeDiskSpace(path_.ToWStringHack());
+ int64 available = base::SysInfo::AmountOfFreeDiskSpace(path_);
if (available < 0) {
max_size_ = kDefaultCacheSize;
return;