summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/block_files_unittest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 21:39:37 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 21:39:37 +0000
commitf294da7127cd4c278aa1f172e94d382250e92e4e (patch)
tree2a7e899a35be6d2a899ae7916a3a250c362a53a9 /net/disk_cache/block_files_unittest.cc
parent59fea0a2182828f3410a16ae68296cc9dcbbf8c2 (diff)
downloadchromium_src-f294da7127cd4c278aa1f172e94d382250e92e4e.zip
chromium_src-f294da7127cd4c278aa1f172e94d382250e92e4e.tar.gz
chromium_src-f294da7127cd4c278aa1f172e94d382250e92e4e.tar.bz2
Step 2 in porting disk cache to using FilePath.
BUG=24444 Review URL: http://codereview.chromium.org/270066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/block_files_unittest.cc')
-rw-r--r--net/disk_cache/block_files_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/block_files_unittest.cc b/net/disk_cache/block_files_unittest.cc
index 6256a3d..2ea930e 100644
--- a/net/disk_cache/block_files_unittest.cc
+++ b/net/disk_cache/block_files_unittest.cc
@@ -170,7 +170,7 @@ TEST_F(DiskCacheTest, BlockFiles_ZeroSizeFile) {
// Truncate one of the files.
{
scoped_refptr<File> file(new File);
- ASSERT_TRUE(file->Init(filename));
+ ASSERT_TRUE(file->Init(FilePath::FromWStringHack(filename)));
EXPECT_TRUE(file->SetLength(0));
}